projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6005771
)
block: unexport disk_get_part
author
Christoph Hellwig
<hch@lst.de>
Wed, 25 Mar 2020 15:48:37 +0000
(16:48 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 25 Mar 2020 15:50:08 +0000
(09:50 -0600)
disk_get_part is not used by any modular code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
patch
|
blob
|
history
diff --git
a/block/genhd.c
b/block/genhd.c
index 5f9df331822a047b13069b01755b3508cf52f77c..0ee74b7e01f46aaf4596bd8da88c48ff383f4e37 100644
(file)
--- a/
block/genhd.c
+++ b/
block/genhd.c
@@
-217,7
+217,6
@@
struct hd_struct *disk_get_part(struct gendisk *disk, int partno)
return part;
}
-EXPORT_SYMBOL_GPL(disk_get_part);
/**
* disk_part_iter_init - initialize partition iterator