diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2011-03-27 00:06:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-20 20:45:58 (GMT) |
commit | 389fe985f27b5334110639146016bb6dd273c3f6 (patch) | |
tree | c0b65899ef475fd187b67e59f84be8b4a0080381 /drivers/staging/rts_pstor/rtsx.h | |
parent | f7468e2995dbd914817c780941750f0ac668ac50 (diff) | |
download | linux-fsl-qoriq-389fe985f27b5334110639146016bb6dd273c3f6.tar.xz |
Staging: rts_pstor: s/rtsx_alloc_dma_buf/kmalloc/
Replace rtsx_alloc_dma_buf() with kfree() back,
chip parameter is not used; remove casts.
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rts_pstor/rtsx.h')
-rw-r--r-- | drivers/staging/rts_pstor/rtsx.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rts_pstor/rtsx.h b/drivers/staging/rts_pstor/rtsx.h index 263524c..6afb635 100644 --- a/drivers/staging/rts_pstor/rtsx.h +++ b/drivers/staging/rts_pstor/rtsx.h @@ -98,8 +98,6 @@ do { \ #define SCSI_LUN(srb) ((srb)->device->lun) -#define rtsx_alloc_dma_buf(chip, size, flag) kmalloc((size), (flag)) - typedef unsigned long DELAY_PARA_T; struct rtsx_chip; |