fs: devfs-core: remove unused code
Partitions on mtd devices are implemented as mtd devices themselves
which have a ioctl hook. The DEVFS_IS_PARTITION flag is never set
for these devices, so the partition offset translation code in
fs/devfs-core.c is unused. Remove it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b1cc7ca commit 64571bd356218c9e0513dd860f56415b5dd2adae
@Sascha Hauer Sascha Hauer authored on 30 Mar 2017
Showing 1 changed file
View
fs/devfs-core.c