OSDN Git Service

s390/cio: remove duplicate struct ccw1 declaration
authorWan Jiabing <wanjiabing@vivo.com>
Tue, 30 Mar 2021 10:56:25 +0000 (18:56 +0800)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 5 Apr 2021 09:30:57 +0000 (11:30 +0200)
struct ccw1 is declared twice. One has been declared
at 21st line. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Acked-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/ccwdev.h

index 778247b..d4e90f2 100644 (file)
@@ -152,9 +152,6 @@ extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
  * when new devices for its type pop up */
 extern int  ccw_driver_register   (struct ccw_driver *driver);
 extern void ccw_driver_unregister (struct ccw_driver *driver);
-
-struct ccw1;
-
 extern int ccw_device_set_options_mask(struct ccw_device *, unsigned long);
 extern int ccw_device_set_options(struct ccw_device *, unsigned long);
 extern void ccw_device_clear_options(struct ccw_device *, unsigned long);