]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mlx4_core: Fix unused variable warning
authorRoland Dreier <rolandd@cisco.com>
Tue, 4 Nov 2008 19:18:56 +0000 (11:18 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 4 Nov 2008 19:18:56 +0000 (11:18 -0800)
commit7b0f5df4c88bac46fe749d36d905fc7ad0296587
treef0e9d80ad6994c2e6b139ac9eccf9a6e2a249084
parent332edc2f7fa58b818dfed1cede60272eecc27c0a
mlx4_core: Fix unused variable warning

Fix

   drivers/net/mlx4/profile.c:55: warning: 'res_name' defined but not used

by making mlx4_dbg() always use all of its parameters, regardless of
whether CONFIG_MLX4_DEBUG is set or not.

Reported-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/mlx4.h