include/net/genetlink.h: Allow genlmsg_cancel to accept a NULL argument
authorJulia Lawall <julia@diku.dk>
Fri, 28 Jan 2011 05:43:40 +0000 (05:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Feb 2011 04:47:08 +0000 (20:47 -0800)
commit38db9e1db1c91c953b2a539130257ce91533c9f6
treeb907832971ddcc434ece367da89a0926bdd6cb22
parente2d57766e6744f2956975dd2086d82957187b0f6
include/net/genetlink.h: Allow genlmsg_cancel to accept a NULL argument

nlmsg_cancel can accept NULL as its second argument, so for similarity,
this patch extends genlmsg_cancel to be able to accept a NULL second
argument as well.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/genetlink.h