aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJavi Merino <[email protected]>2015-08-14 17:56:56 +0000
committerMyungJoo Ham <[email protected]>2015-09-11 05:23:28 +0000
commit08e75e754a6d9838e490b74551d19fc04d0fd6f9 (patch)
tree71344662250f9bd22389a86e886a1aa6b67c7fed /net/switchdev/switchdev.c
parentPM / devfreq: Drop unlikely before IS_ERR(_OR_NULL) (diff)
downloadkernel-08e75e754a6d9838e490b74551d19fc04d0fd6f9.tar.gz
kernel-08e75e754a6d9838e490b74551d19fc04d0fd6f9.zip
PM / devfreq: cache the last call to get_dev_status()
The return value of get_dev_status() can be reused. Cache it so that other parts of the kernel can reuse it instead of having to call the same function again. Cc: Kyungmin Park <[email protected]> Signed-off-by: Javi Merino <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions