From: Rafał Miłecki Date: Mon, 12 Feb 2018 11:01:52 +0000 (+0100) Subject: mount: drop duplicated unlink() call from the mount_dev_del() X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmountd.git;a=commitdiff_plain;h=a27ea3ff91a2f84c6160441689d2df9d2dce1fc1;hp=a27ea3ff91a2f84c6160441689d2df9d2dce1fc1 mount: drop duplicated unlink() call from the mount_dev_del() There is no need to call unlink() there as mount_enum_drives() does it too, soon after calling mount_dev_del(). Also mount_enum_drives() does that for STATUS_EXPIRED - which is expected - as there is no unlink() call when device expires. Signed-off-by: Rafał Miłecki ---