summaryrefslogtreecommitdiffstats
path: root/include/asm-arm26/atomic.h
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2007-05-08 20:27:03 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 20:41:14 -0700
commit21d364954f5a2a97b4e378f34a13fbf296aa16ec (patch)
tree75d507fe9ffc5032189d3f3f683044528571e46f /include/asm-arm26/atomic.h
parentb590d2baf17f8890f648e76436abdb8674d564eb (diff)
downloadblackbird-op-linux-21d364954f5a2a97b4e378f34a13fbf296aa16ec.tar.gz
blackbird-op-linux-21d364954f5a2a97b4e378f34a13fbf296aa16ec.zip
usb_gigaset: don't kmalloc(0)
Zero-sized allocations are pointless anyway, and the SLUB allocator complains about them, so stop doing that. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: Hansjoerg Lipp <hjlipp@web.de> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-arm26/atomic.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud