summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-rlock-hardirq.h
diff options
context:
space:
mode:
authorAniroop Mathur <aniroop.mathur@gmail.com>2014-12-04 01:27:42 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-12-04 02:27:17 +0300
commit939ffb1712890ee22146d2dfc24adbc7da6afa84 (patch)
tree32f55ccf440835f0c929b6c7b173ffd87e18f2c6 /lib/locking-selftest-rlock-hardirq.h
parent9c7d66fa9bb21ef89c6acdd0cf536eb84e760d8b (diff)
downloadlinux-939ffb1712890ee22146d2dfc24adbc7da6afa84.tar.xz
Input: initialize device counter variables with -1
Let's initialize atomic_t variables keeping track of number of various devices created so far with -1 in order to avoid extra subtraction operation. Signed-off-by: Aniroop Mathur <aniroop.mathur@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions