diff options
author | Amit Kamath <akamath@nvidia.com> | 2012-12-14 17:49:26 +0530 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2012-12-31 03:53:32 -0800 |
commit | 643a087c659273d4f138404819079125a374c405 (patch) | |
tree | baff898b35a3c1c7ed5501ae0940c2d36a04e34f /drivers/thermal | |
parent | b15b288083e02f0caa7644a2e01f0703b501187f (diff) |
netlink: remove return value check for netlink_broadcast()
Based on commit to change return value for netlink_broadcast
commit ff491a7334acfd74e515c896632e37e401f52676
Author: Pablo Neira Ayuso <pablo@netfilter.org>
Date: Thu Feb 5 23:56:36 2009 -0800
Change-Id: I2adcfcb9f877effa2b04db74c8e90af36604e885
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/171416
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/thermal_sys.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c index 5c8441b4e7a1..7cedd86427a5 100644 --- a/drivers/thermal/thermal_sys.c +++ b/drivers/thermal/thermal_sys.c @@ -1844,10 +1844,7 @@ int thermal_generate_netlink_event(u32 orig, enum events event) return result; } - result = genlmsg_multicast(skb, 0, thermal_event_mcgrp.id, GFP_ATOMIC); - if (result) - pr_info("failed to send netlink event:%d\n", result); - + genlmsg_multicast(skb, 0, thermal_event_mcgrp.id, GFP_ATOMIC); return result; } EXPORT_SYMBOL(thermal_generate_netlink_event); |