fs: Make use of cdev_flush()
Drop extra checks and explicit indirect call in devfs_flush() in
favour of using cdev_flush(), since it already does all of the above.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e182cb9 commit 189d095272fb6352b329de9275231c7813a71435
@Andrey Smirnov Andrey Smirnov authored on 26 Feb 2019
Sascha Hauer committed on 27 Feb 2019
Showing 1 changed file
View
fs/devfs.c