1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

fstab-generator: remove redundancy in mount_is_bind

This commit is contained in:
Tom Gundersen 2012-11-26 03:49:21 +01:00
parent 16e6f6130b
commit a83cbaccd0

View File

@ -194,9 +194,7 @@ finish:
static bool mount_is_bind(struct mntent *me) {
assert(me);
return
hasmntopt(me, "bind") ||
streq(me->mnt_opts, "bind");
return hasmntopt(me, "bind");
}
static bool mount_is_network(struct mntent *me) {