staging: nvec: Do not print free message for tx_scratch
authorJulian Andres Klode <jak@jak-linux.org>
Tue, 27 Sep 2011 17:00:52 +0000 (19:00 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Sep 2011 00:41:33 +0000 (17:41 -0700)
commit7b77065793b8de101c7be3829b4ff8a4618a7172
tree42c7db23c026b76826b4c2cf3dcba6f3ec01e0ce
parent0cab4cb8526d7367c912c9a871d3ad1a9ac1fbf0
staging: nvec: Do not print free message for tx_scratch

The scratch area is not part of the pool and thus gets
no allocation message. Printing a free message would
be confusing, and the pointer subtraction would be
undefined behavior.

Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/nvec/nvec.c