Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/cio: clean up DEV_STATE_SENSE_PGID

Clean up DEV_STATE_SENSE_PGID related code, since it's not
used anymore. Everything related to path verification is
handled within DEV_STATE_VERIFY.

Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Acked-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Dong Jia Shi and committed by
Martin Schwidefsky
8139d852 75c7b6f3

-7
-1
drivers/s390/cio/device.h
··· 13 13 */ 14 14 enum dev_state { 15 15 DEV_STATE_NOT_OPER, 16 - DEV_STATE_SENSE_PGID, 17 16 DEV_STATE_SENSE_ID, 18 17 DEV_STATE_OFFLINE, 19 18 DEV_STATE_VERIFY,
-6
drivers/s390/cio/device_fsm.c
··· 1058 1058 [DEV_EVENT_TIMEOUT] = ccw_device_nop, 1059 1059 [DEV_EVENT_VERIFY] = ccw_device_nop, 1060 1060 }, 1061 - [DEV_STATE_SENSE_PGID] = { 1062 - [DEV_EVENT_NOTOPER] = ccw_device_request_event, 1063 - [DEV_EVENT_INTERRUPT] = ccw_device_request_event, 1064 - [DEV_EVENT_TIMEOUT] = ccw_device_request_event, 1065 - [DEV_EVENT_VERIFY] = ccw_device_nop, 1066 - }, 1067 1061 [DEV_STATE_SENSE_ID] = { 1068 1062 [DEV_EVENT_NOTOPER] = ccw_device_request_event, 1069 1063 [DEV_EVENT_INTERRUPT] = ccw_device_request_event,