signals: consolidate checks for whether or not to ignore a signal
[deliverable/linux.git] / drivers / net / tg3.c
index bc4c62b8e81a4d7be3441bdc578daf3689646ab2..b66c75e3b8a1f6428b4d9f0409e6f611421bb923 100644 (file)
@@ -4017,6 +4017,8 @@ static int tg3_halt(struct tg3 *, int, int);
  * Invoked with tp->lock held.
  */
 static int tg3_restart_hw(struct tg3 *tp, int reset_phy)
+       __releases(tp->lock)
+       __acquires(tp->lock)
 {
        int err;
 
@@ -4359,7 +4361,7 @@ static int tg3_tso_bug(struct tg3 *tp, struct sk_buff *skb)
        }
 
        segs = skb_gso_segment(skb, tp->dev->features & ~NETIF_F_TSO);
-       if (unlikely(IS_ERR(segs)))
+       if (IS_ERR(segs))
                goto tg3_tso_bug_end;
 
        do {
This page took 0.036242 seconds and 5 git commands to generate.