mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
bsg: silence a bogus gcc warning
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
b711afa695
commit
2ef7086a20
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue