summaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 09:20:31 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 09:51:21 -0600
commitd181daa06dd72fa88652b1d8bf723570a9fc55ea (patch)
tree23d8f818e0a8879836c2a5b3822eda4541a94c82 /include/linux/hyperv.h
parenta832a1eba94096513bc42c96f33957cc46c5f2bf (diff)
downloadblackbird-op-linux-d181daa06dd72fa88652b1d8bf723570a9fc55ea.tar.gz
blackbird-op-linux-d181daa06dd72fa88652b1d8bf723570a9fc55ea.zip
Staging: hv: storvsc: remove last usage of DPRINT_WARN
Used the correct dev_warn() call instead. Cc: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r--include/linux/hyperv.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 2229073874b0..097d6dbe685a 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -721,7 +721,6 @@ extern void vmbus_ontimer(unsigned long data);
BLKVSC_DRV)
/* Logging Level */
-#define WARNING_LVL 4
#define INFO_LVL 6
#define DEBUG_RING_LVL 9
@@ -733,11 +732,6 @@ extern unsigned int vmbus_loglevel;
printk(KERN_DEBUG #mod": %s() " fmt "\n", __func__, ## args);\
} while (0)
-#define DPRINT_WARN(mod, fmt, args...) do {\
- if ((mod & (HIWORD(vmbus_loglevel))) && \
- (WARNING_LVL <= LOWORD(vmbus_loglevel))) \
- printk(KERN_WARNING #mod": WARNING! " fmt "\n", ## args);\
- } while (0)
struct hv_driver;
struct hv_device;
OpenPOWER on IntegriCloud