summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/power/rt9455_charger.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/power/rt9455_charger.c b/drivers/power/rt9455_charger.c
index de86913037db..08baac6e3ada 100644
--- a/drivers/power/rt9455_charger.c
+++ b/drivers/power/rt9455_charger.c
@@ -1412,9 +1412,6 @@ static int rt9455_usb_event(struct notifier_block *nb,
unsigned int opa_mode, iaicr;
int ret;
- if (!info)
- return NOTIFY_DONE;
-
/*
* Determine whether the charger is in charge mode
* or in boost mode.