OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8693059
)
vdpa_sim_blk: remove duplicate include of linux/blkdev.h
author
Wan Jiabing
<wanjiabing@vivo.com>
Mon, 10 May 2021 02:43:03 +0000
(10:43 +0800)
committer
Michael S. Tsirkin
<mst@redhat.com>
Sat, 3 Jul 2021 08:50:50 +0000
(
04:50
-0400)
In commit
7d189f617f83f
("vdpa_sim_blk: implement ramdisk behaviour")
linux/blkdev.h was included here causing the duplicate include.
Remove the later duplicate include.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Link:
https://lore.kernel.org/r/20210510024307.7143-1-wanjiabing@vivo.com
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
patch
|
blob
|
history
diff --git
a/drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
b/drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
index
5bfe1c2
..
a790903
100644
(file)
--- a/
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
+++ b/
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
@@
-15,7
+15,6
@@
#include <linux/blkdev.h>
#include <linux/vringh.h>
#include <linux/vdpa.h>
-#include <linux/blkdev.h>
#include <uapi/linux/virtio_blk.h>
#include "vdpa_sim.h"