Skip to content

Commit b28801a

Browse files
mgurtovoyjgunthorpe
authored andcommitted
IB/iser: Remove deprecated pi_guard module param
No need for this dead code. This commit doesn't change any functionality since one can still run "modprobe ib_iser pi_guard=<type>". Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Max Gurtovoy <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent fbdb0ba commit b28801a

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

drivers/infiniband/ulp/iser/iscsi_iser.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ bool iser_pi_enable = false;
113113
module_param_named(pi_enable, iser_pi_enable, bool, S_IRUGO);
114114
MODULE_PARM_DESC(pi_enable, "Enable T10-PI offload support (default:disabled)");
115115

116-
int iser_pi_guard;
117-
module_param_named(pi_guard, iser_pi_guard, int, S_IRUGO);
118-
MODULE_PARM_DESC(pi_guard, "T10-PI guard_type [deprecated]");
119-
120116
static int iscsi_iser_set(const char *val, const struct kernel_param *kp)
121117
{
122118
int ret;

drivers/infiniband/ulp/iser/iscsi_iser.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ struct iser_global {
486486
extern struct iser_global ig;
487487
extern int iser_debug_level;
488488
extern bool iser_pi_enable;
489-
extern int iser_pi_guard;
490489
extern unsigned int iser_max_sectors;
491490
extern bool iser_always_reg;
492491

0 commit comments

Comments
 (0)