summaryrefslogtreecommitdiff
path: root/include/soc/imx/cpuidle.h
diff options
context:
space:
mode:
authorGao Feng <fgao@ikuai8.com>2017-02-09 21:40:38 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2017-02-12 14:44:08 +0100
commit4dee62b1b9b43c9bbf49c93cd114e1bf1334fb6a (patch)
treeb894c7c04e7e2aed6f147466b9eec9545708396b /include/soc/imx/cpuidle.h
parenta96e66e702bc615f5927b15c739c91d5098dac59 (diff)
netfilter: nf_ct_expect: nf_ct_expect_insert() returns void
Because nf_ct_expect_insert() always succeeds now, its return value can be just void instead of int. And remove code that checks for its return value. Signed-off-by: Gao Feng <fgao@ikuai8.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/soc/imx/cpuidle.h')
0 files changed, 0 insertions, 0 deletions
race conditions. Similarly `pch->cyclic' is written by `pl330_alloc_chan_resources' under `pl330->lock' but read by `pl330_tx_submit' under `pch->lock'. Second, I have removed locking from `pl330_request_channel' and `pl330_release_channel' functions. Function `pl330_request_channel' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/uapi/rdma/cxgb4-abi.h')