mount_autofs.c:mount_mount no need to increment val
PATCH 1/1 mount_autofs.c:mount_mount no need to increment val
No sense incrementing val since we never look at it again.
Cheers,
Jeff
Signed-off-by Jeff Moyer <[email protected]>
modules/mount_autofs.c +1 -1
@@ -119,7 +119,7 @@ int mount_mount(struct autofs_point *ap, const char *root, const char *name,else if (strncmp (cp,"timeout=" ,8 ) ==0 ) {char *val =strchr (cp,'=' );unsigned tout; -if (val++) { +if (val) {int ret =sscanf (cp,"timeout=%u" , &tout);if (ret) timeout = tout;