bsg: silence a bogus gcc warning

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Jens Axboe 2006-12-20 11:26:11 +01:00
parent b711afa695
commit 2ef7086a20
1 changed files with 1 additions and 1 deletions

View File

@ -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;