Commit d6f2b5a6 authored by Brian King's avatar Brian King Committed by James Bottomley

[PATCH] ipr: Remove dead code

Removes some unused debug code.
Signed-off-by: default avatarBrian King <brking@us.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 84f2d516
......@@ -32,9 +32,6 @@
#include <linux/kref.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#ifdef CONFIG_KDB
#include <linux/kdb.h>
#endif
/*
* Literals
......@@ -1085,18 +1082,6 @@ struct ipr_ucode_image_header {
#define IPR_DBG_CMD(CMD)
#endif
#define ipr_breakpoint_data KERN_ERR IPR_NAME\
": %s: %s: Line: %d ioa_cfg: %p\n", __FILE__, \
__FUNCTION__, __LINE__, ioa_cfg
#if defined(CONFIG_KDB) && !defined(CONFIG_PPC_ISERIES)
#define ipr_breakpoint {printk(ipr_breakpoint_data); KDB_ENTER();}
#define ipr_breakpoint_or_die {printk(ipr_breakpoint_data); KDB_ENTER();}
#else
#define ipr_breakpoint
#define ipr_breakpoint_or_die panic(ipr_breakpoint_data)
#endif
#ifdef CONFIG_SCSI_IPR_TRACE
#define ipr_create_trace_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
#define ipr_remove_trace_file(kobj, attr) sysfs_remove_bin_file(kobj, attr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment