diff --git a/vold/uevent.c b/vold/uevent.c index cfb5786c6..66e70c59a 100644 --- a/vold/uevent.c +++ b/vold/uevent.c @@ -272,8 +272,7 @@ static int handle_switch_event(struct uevent *event) else door_open = false; volmgr_safe_mode(low_batt || door_open); - } else - LOG_VOL("handle_switch_event(): Ignoring switch '%s'", name); + } return 0; }