--- zzzz-none-000/linux-2.6.32.60/drivers/scsi/sg.c 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/drivers/scsi/sg.c 2011-10-21 12:21:44.000000000 +0000 @@ -707,7 +707,7 @@ sg_common_write(Sg_fd * sfp, Sg_request * srp, unsigned char *cmnd, int timeout, int blocking) { - int k, data_dir; + int k, data_dir __maybe_unused__; Sg_device *sdp = sfp->parentdp; sg_io_hdr_t *hp = &srp->header;