Commit 2ef7086a authored by Jens Axboe's avatar Jens Axboe

bsg: silence a bogus gcc warning

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent b711afa6
...@@ -302,7 +302,7 @@ bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr) ...@@ -302,7 +302,7 @@ bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr)
{ {
request_queue_t *q = bd->queue; request_queue_t *q = bd->queue;
struct request *rq; struct request *rq;
int ret, rw; int ret, rw = 0; /* shut up gcc */
unsigned int dxfer_len; unsigned int dxfer_len;
void *dxferp = NULL; void *dxferp = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment