iprutils: remove debug code in index_in_page2()
Dropped one line debug code which cause by previous patch. Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
This commit is contained in:
parent
7269b44e8f
commit
da2d125ff7
1 changed files with 0 additions and 1 deletions
|
|
@ -2528,7 +2528,6 @@ int index_in_page2(struct ipr_encl_status_ctl_pg *ses_data, int slot_id)
|
|||
int i;
|
||||
|
||||
for (i = 1; i < IPR_NUM_DRIVE_ELEM_STATUS_ENTRIES; i++) {
|
||||
syslog(LOG_ERR, "slot_is=%d new=%d i=%d\n",slot_id, ses_data->elem_status[i].slot_id, i);
|
||||
if (ses_data->elem_status[i].slot_id == slot_id)
|
||||
return (i - 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue