]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
USB: serial: iuu_phoenix: remove redundant assignment of DIV to itself
authorColin Ian King <colin.king@canonical.com>
Mon, 20 Nov 2017 17:40:15 +0000 (17:40 +0000)
committerJohan Hovold <johan@kernel.org>
Mon, 27 Nov 2017 12:51:07 +0000 (13:51 +0100)
The assignment of DIV to itself is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/iuu_phoenix.c

index 397a8012ffa3657c2a6e411a7da7fdff5f7c2549..62c91e360bafe38e9672abb0df4f100c1ce9cc95 100644 (file)
@@ -472,7 +472,6 @@ static int iuu_clk(struct usb_serial_port *port, int dwFrq)
                                }
        }
        P2 = ((P - PO) / 2) - 4;
-       DIV = DIV;
        PUMP = 0x04;
        PBmsb = (P2 >> 8 & 0x03);
        PBlsb = P2 & 0xFF;