diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-10 17:43:06 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-10 18:04:39 +0100 |
commit | 8e1b6ab073a890cc2da6965f9a57bfc91d8c6d38 (patch) | |
tree | aa847ac24f38c03e1ea9938b8e787cf852b0f065 /trans | |
parent | 0209a2f92b5693c72975572b7438ebc6d9865b6b (diff) |
trans/fakeroot: remove dead code
* trans/fakeroot.c (netfs_S_dir_lookup): Remove dead code.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/fakeroot.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c index 58f11121..203f2c1b 100644 --- a/trans/fakeroot.c +++ b/trans/fakeroot.c @@ -371,10 +371,8 @@ netfs_S_dir_lookup (struct protid *diruser, if (err) goto lose; - if (retry_name[0] == '\0' && *do_retry == FS_RETRY_NORMAL) - flags &= ~(O_CREAT|O_EXCL|O_NOLINK|O_NOTRANS|O_NONBLOCK); - else - flags = 0; + assert (retry_name[0] == '\0' && *do_retry == FS_RETRY_NORMAL); + flags &= ~(O_CREAT|O_EXCL|O_NOLINK|O_NOTRANS|O_NONBLOCK); err = iohelp_dup_iouser (&user, diruser->user); if (!err) |