patch-2.4.19 linux-2.4.19/include/linux/rtnetlink.h

Next file: linux-2.4.19/include/linux/sched.h
Previous file: linux-2.4.19/include/linux/reiserfs_fs_sb.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/linux/rtnetlink.h linux-2.4.19/include/linux/rtnetlink.h
@@ -587,7 +587,7 @@
 
 #define ASSERT_RTNL() do { if (down_trylock(&rtnl_sem) == 0)  { up(&rtnl_sem); \
 printk("RTNL: assertion failed at " __FILE__ "(%d)\n", __LINE__); } \
-		   } while(0);
+		   } while(0)
 #define BUG_TRAP(x) if (!(x)) { printk("KERNEL: assertion (" #x ") failed at " __FILE__ "(%d)\n", __LINE__); }
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)