firewire: use clamp and min3 macros
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 18 Sep 2011 22:20:48 +0000 (00:20 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 9 Oct 2011 15:00:18 +0000 (17:00 +0200)
commit4ec4a67aa100268b4ac5ae32b54843d975969969
tree0cb2413784e788939edd625c2b163c7f410f2c61
parentb810e4ae111cb8b4c0ccbbe7ff4ea0a23c671e4f
firewire: use clamp and min3 macros

Use kernel.h's convenience macros.  Also omit a printk that should never
happen and won't matter much if it ever happened.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-transaction.c
drivers/firewire/net.c
drivers/firewire/sbp2.c