sg: remove an unused variable
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 30 Jan 2015 15:22:38 +0000 (16:22 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:44 +0000 (09:57 -0800)
commit5af2e38242f87231244393e69beca7284e70056f
tree73921b1991670b49fa4a0e2cc92b9521df65cb49
parent6636e7f455b33b957c5ee016daa6de46148026ab
sg: remove an unused variable

The 'data_dir' variable is not used in sg_common_write(), hence
remove this variable.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/sg.c