diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index ebd038ea6e8a..d1508e21b378 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -507,7 +507,7 @@ void gb_connection_destroy(struct gb_connection *connection) { struct ida *id_map; - if (WARN_ON(!connection)) + if (!connection) return; spin_lock_irq(&gb_connections_lock);