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)
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

Simple merge