]> Pileus Git - ~andy/linux/blobdiff - drivers/net/tc35815.c
sfc: Distinguish queue lookup from test for queue existence
[~andy/linux] / drivers / net / tc35815.c
index 99e423a5b9f1d556211235ae52bfe3ce422a0254..b6eec8cea20948c37fc1c95e15e6f4992245df94 100644 (file)
@@ -1167,7 +1167,7 @@ static void print_eth(const u8 *add)
 static int tc35815_tx_full(struct net_device *dev)
 {
        struct tc35815_local *lp = netdev_priv(dev);
-       return ((lp->tfd_start + 1) % TX_FD_NUM == lp->tfd_end);
+       return (lp->tfd_start + 1) % TX_FD_NUM == lp->tfd_end;
 }
 
 static void tc35815_restart(struct net_device *dev)