summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts_pstor/rtsx.h
diff options
context:
space:
mode:
authorAlexander Beregalov2011-03-26 18:18:11 +0100
committerGreg Kroah-Hartman2011-04-20 22:45:57 +0200
commitf7468e2995dbd914817c780941750f0ac668ac50 (patch)
tree241a9e54539b88d6875dee1450a5e5c68c01fc11 /drivers/staging/rts_pstor/rtsx.h
parentStaging: sbe-2t3e3: redundant null check before kfree() (diff)
downloadkernel-qcow2-linux-f7468e2995dbd914817c780941750f0ac668ac50.tar.gz
kernel-qcow2-linux-f7468e2995dbd914817c780941750f0ac668ac50.tar.xz
kernel-qcow2-linux-f7468e2995dbd914817c780941750f0ac668ac50.zip
Staging: rts_pstor: s/rtsx_free_dma_buf/kfree/
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rts_pstor/rtsx.h b/drivers/staging/rts_pstor/rtsx.h
index 4d5ddf6fbb5e..263524c45aab 100644
--- a/drivers/staging/rts_pstor/rtsx.h
+++ b/drivers/staging/rts_pstor/rtsx.h
@@ -99,7 +99,6 @@ do { \
#define SCSI_LUN(srb) ((srb)->device->lun)
#define rtsx_alloc_dma_buf(chip, size, flag) kmalloc((size), (flag))
-#define rtsx_free_dma_buf(chip, ptr) kfree((ptr))
typedef unsigned long DELAY_PARA_T;