tty: hvc: Remove second semicolon
authorColin Ian King <colin.i.king@gmail.com>
Fri, 15 Mar 2024 09:17:34 +0000 (09:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 13:49:00 +0000 (15:49 +0200)
There is a statement with two semicolons. Remove the second one, it
is redundant.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240315091734.2430416-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_xen.c

index 0e497501f8e31bc2522fe8fcba85b3ec3e832d47..388a71afd6efe76db5ef1d54c0fc8c575f6d7243 100644 (file)
@@ -558,7 +558,7 @@ static void xencons_backend_changed(struct xenbus_device *dev,
                        break;
                fallthrough;    /* Missed the backend's CLOSING state */
        case XenbusStateClosing: {
-               struct xencons_info *info = dev_get_drvdata(&dev->dev);;
+               struct xencons_info *info = dev_get_drvdata(&dev->dev);
 
                /*
                 * Don't tear down the evtchn and grant ref before the other