diff options
author | Bart Van Assche <bvanassche@acm.org> | 2010-08-30 19:27:40 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-10-24 22:14:19 -0700 |
commit | 21c1a90769e680e7c1f49bae4c5804cf0c7bc814 (patch) | |
tree | 917996eb13d0ab93163f26e4824c0d7b2e1bec34 /drivers/hid/hid-sunplus.c | |
parent | 7ade400aba9a675b610074d6609658661db07eeb (diff) | |
download | kernel_samsung_tuna-21c1a90769e680e7c1f49bae4c5804cf0c7bc814.zip kernel_samsung_tuna-21c1a90769e680e7c1f49bae4c5804cf0c7bc814.tar.gz kernel_samsung_tuna-21c1a90769e680e7c1f49bae4c5804cf0c7bc814.tar.bz2 |
IB/srp: Use list_first_entry()
Use the list_first_entry() macro in ib_srp instead of open-coding the equivalent,
which makes the source code slightly more descriptive. The list_first_entry()
macro itself was introduced in kernel 2.6.22.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/hid/hid-sunplus.c')
0 files changed, 0 insertions, 0 deletions