aboutsummaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorAniroop Mathur <aniroop.mathur@gmail.com>2014-12-03 14:27:42 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:57:28 +0200
commit1944352527845b081910b65137342ba9d39f4151 (patch)
tree937f976458288b7a06f495437e239bad5ab22046 /scripts/checkstack.pl
parenta7b1a7431ae479a68287aac2312086ef639e064e (diff)
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. Change-Id: I58bfb094ec24e4b4cab48b3318852a27a227dc9a Signed-off-by: Aniroop Mathur <aniroop.mathur@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tim Clark <tim.clark.82@gmail.com>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions