driver: block: Fix gcc compiler issue
Fix kernel compilation failure because of id uninitialized in vs_block_client_get_blkdev_id function. Change-Id: I51069102e7a74c9e1ba5ee7f82b0a91cfd2dbf69 Signed-off-by: Jiaxing Shi <jiaxsh@codeaurora.org>
This commit is contained in:
parent
b318a6e046
commit
20f2647816
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ vs_block_client_make_request(struct request_queue *q, struct bio *bio)
|
|||
|
||||
static int vs_block_client_get_blkdev_id(struct block_client *client)
|
||||
{
|
||||
int id;
|
||||
int id = 0;
|
||||
int ret;
|
||||
|
||||
retry:
|
||||
|
|
Loading…
Reference in a new issue