mount: drop duplicated unlink() call from the mount_dev_del()
authorRafał Miłecki <rafal@milecki.pl>
Mon, 12 Feb 2018 11:01:52 +0000 (12:01 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 16 Feb 2018 09:55:36 +0000 (10:55 +0100)
commita27ea3ff91a2f84c6160441689d2df9d2dce1fc1
tree1976b110b9e7b7a0cd426929e6b8581144ff26e3
parentbf7cc330196d76786a25da3a67b9c1e94b1126ea
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 <rafal@milecki.pl>
mount.c