--- zzzz-none-000/linux-2.6.32.61/drivers/scsi/sg.c 2013-06-10 09:43:48.000000000 +0000 +++ ar9-7330-650/linux-2.6.32.61/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;