summaryrefslogtreecommitdiff
path: root/net/packet
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-07-18 18:49:26 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-19 16:24:59 -0700
commiteeef1713cacdb3cf657c9830e5a4c61e7f35c60a (patch)
treeee1490ad4b120c595e9686e54a5fd9441016afab /net/packet
parent9b17010da57ae1a5d0a28c62f5e15abbce35edb0 (diff)
ISDN: eicon: switch to use native bitmaps
Two arrays are clearly bit maps, so, make that explicit by converting to bitmap API and remove custom helpers. Note sig_ind() uses out of boundary bit to (looks like) protect against potential bitmap_empty() checks for the same bitmap. This patch removes that since: 1) that didn't guarantee atomicity anyway; 2) the first operation inside the for-loop is set bit in the bitmap (which effectively makes it non-empty); 3) group_optimization() doesn't utilize possible emptiness of the bitmap in question. Thus, if there is a protection needed it should be implemented properly. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions