diff options
-rw-r--r-- | block/bsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bsg.c b/block/bsg.c index 6f05a397dc3a..9d77a0c72457 100644 --- a/block/bsg.c +++ b/block/bsg.c | |||
@@ -302,7 +302,7 @@ bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr) | |||
302 | { | 302 | { |
303 | request_queue_t *q = bd->queue; | 303 | request_queue_t *q = bd->queue; |
304 | struct request *rq; | 304 | struct request *rq; |
305 | int ret, rw; | 305 | int ret, rw = 0; /* shut up gcc */ |
306 | unsigned int dxfer_len; | 306 | unsigned int dxfer_len; |
307 | void *dxferp = NULL; | 307 | void *dxferp = NULL; |
308 | 308 | ||