git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9e0332
)
blk-throttle: simplify throtl_grp flag handling
author
Tejun Heo
<tj@kernel.org>
Tue, 14 May 2013 20:52:32 +0000
(13:52 -0700)
committer
Tejun Heo
<tj@kernel.org>
Tue, 14 May 2013 20:52:32 +0000
(13:52 -0700)
blk-throttle is still using function-defining macros to define flag
handling functions, which went out style at least a decade ago.
Just define the flag as bitmask and use direct bit operations.
This patch doesn't make any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
block/blk-throttle.c
patch
|
blob
|
history
diff --cc
block/blk-throttle.c
Simple merge