diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2006-12-20 11:26:11 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-16 08:52:45 +0200 |
commit | 2ef7086a207d3d899ae88602a135fe1c24e1811f (patch) | |
tree | 02ca9b8870b5635b90d7d19eaf7f4da600cfa9bd /block | |
parent | b711afa6959e5c8f457f1687b5d4a485c7974f32 (diff) | |
download | linux-2ef7086a207d3d899ae88602a135fe1c24e1811f.tar.bz2 |
bsg: silence a bogus gcc warning
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-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) { request_queue_t *q = bd->queue; struct request *rq; - int ret, rw; + int ret, rw = 0; /* shut up gcc */ unsigned int dxfer_len; void *dxferp = NULL; |