From d3e283bc444527ebe8f0b51bd920ff90dfb4f2e0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 10 Feb 2015 08:26:34 +0000 Subject: [PATCH] scst_debug.h: Remove duplicate pr_warn() definition A backport of pr_warn() is already present in so remove the pr_warn() definition from . git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6035 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_debug.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scst/include/scst_debug.h b/scst/include/scst_debug.h index 11a4e5fff..d5b343241 100644 --- a/scst/include/scst_debug.h +++ b/scst/include/scst_debug.h @@ -67,15 +67,6 @@ printk(KERN_CONT fmt, ##__VA_ARGS__) #endif #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33) -/* - * See also patch "kernel.h: add pr_warn for symmetry to dev_warn, - * netdev_warn" (commit fc62f2f19edf46c9bdbd1a54725b56b18c43e94f). - */ -#ifndef pr_warn -#define pr_warn pr_warning -#endif -#endif #if !defined(INSIDE_KERNEL_TREE) #ifdef CONFIG_SCST_DEBUG