libmount, look: remove dead code [oclint]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2016-07-03 20:13:42 +01:00
parent 7d55b2df2e
commit 445e9ca2d4
No known key found for this signature in database
GPG Key ID: A9553245FDE9B739
3 changed files with 0 additions and 4 deletions

View File

@ -566,7 +566,6 @@ int mnt_context_mount_setopt(struct libmnt_context *cxt, int c, char *arg)
break;
default:
return 1;
break;
}
return rc;

View File

@ -620,7 +620,6 @@ int mnt_context_umount_setopt(struct libmnt_context *cxt, int c, char *arg)
break;
default:
return 1;
break;
}
return rc;

View File

@ -274,10 +274,8 @@ linear_search(char *front, char *back)
switch (compare(front, back)) {
case EQUAL: /* Found it. */
return (front);
break;
case LESS: /* No such string. */
return (NULL);
break;
case GREATER: /* Keep going. */
break;
}