net: phy: dp83640: fix checkpath error
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 18 Dec 2013 05:38:07 +0000 (21:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2013 05:49:02 +0000 (00:49 -0500)
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c

index 7490b6c866e685072f8bef2c0b63a090b4061b10..547725fa8671f5174f0ddbd0160a66ccc4144cac 100644 (file)
@@ -851,8 +851,8 @@ static int match(struct sk_buff *skb, unsigned int type, struct rxts *rxts)
 
        seqid = (u16 *)(data + offset + OFF_PTP_SEQUENCE_ID);
 
-       return (rxts->msgtype == (*msgtype & 0xf) &&
-               rxts->seqid   == ntohs(*seqid));
+       return rxts->msgtype == (*msgtype & 0xf) &&
+               rxts->seqid   == ntohs(*seqid);
 }
 
 static void dp83640_free_clocks(void)