kio: Remove dead code declaration

Submitted by Kirill Tkhai on May 17, 2018, 9:36 a.m.

Details

Message ID 152654978622.15299.4735277803986440869.stgit@localhost.localdomain
State New
Series "kio: Remove dead code declaration"
Headers show

Commit Message

Kirill Tkhai May 17, 2018, 9:36 a.m.
This place we always have __PCS_DTRACE__ defined.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
 fs/fuse/kio/pcs/log.h |    5 -----
 1 file changed, 5 deletions(-)

Patch hide | download patch | download mbox

diff --git a/fs/fuse/kio/pcs/log.h b/fs/fuse/kio/pcs/log.h
index ee524a8b7a34..4ff7d76c35bb 100644
--- a/fs/fuse/kio/pcs/log.h
+++ b/fs/fuse/kio/pcs/log.h
@@ -35,11 +35,6 @@  static int pcs_loglevel __attribute__ ((unused)) = LOG_DEBUG;
 			pr_debug(fmt , ##args);				\
 	} while (0)
 #define TRACE(fmt, args...)	trace_printk("%d: " fmt "\n", __LINE__, ## args)
-
-#ifndef __PCS_DTRACE__
-#define DTRACE(fmt, ...) do {} while (0)
-#else
 #define DTRACE(fmt, args...)	trace_printk("%d: " fmt "\n", __LINE__, ## args)
 #endif
-#endif
 #endif /* __PCSLOG_H__ */

Comments

Kirill Tkhai May 17, 2018, 9:38 a.m.
Ignore this.

On 17.05.2018 12:36, Kirill Tkhai wrote:
> This place we always have __PCS_DTRACE__ defined.
> 
> Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
> ---
>  fs/fuse/kio/pcs/log.h |    5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/fs/fuse/kio/pcs/log.h b/fs/fuse/kio/pcs/log.h
> index ee524a8b7a34..4ff7d76c35bb 100644
> --- a/fs/fuse/kio/pcs/log.h
> +++ b/fs/fuse/kio/pcs/log.h
> @@ -35,11 +35,6 @@ static int pcs_loglevel __attribute__ ((unused)) = LOG_DEBUG;
>  			pr_debug(fmt , ##args);				\
>  	} while (0)
>  #define TRACE(fmt, args...)	trace_printk("%d: " fmt "\n", __LINE__, ## args)
> -
> -#ifndef __PCS_DTRACE__
> -#define DTRACE(fmt, ...) do {} while (0)
> -#else
>  #define DTRACE(fmt, args...)	trace_printk("%d: " fmt "\n", __LINE__, ## args)
>  #endif
> -#endif
>  #endif /* __PCSLOG_H__ */
>