提交 2ef7086a 编写于 作者: J Jens Axboe

bsg: silence a bogus gcc warning

Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 b711afa6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册