diff options
author | Andreas Herrmann <aherrman@de.ibm.com> | 2006-05-22 12:15:49 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-05-28 12:38:15 -0400 |
commit | ca3271b40225a1049334766f6fb35b57a0162bd2 (patch) | |
tree | a781c265f8cde3ba06a775948a923cb7b5fe896d | |
parent | 4a9d2d8bf989c77b54add430932fa5ed8a80dba9 (diff) |
[SCSI] zfcp: (cleanup) remove useless comments
Removed some useless comments.
Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/s390/scsi/zfcp_erp.c | 218 | ||||
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 20 | ||||
-rw-r--r-- | drivers/s390/scsi/zfcp_scsi.c | 46 |
3 files changed, 0 insertions, 284 deletions
diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c index e2dac3dc3fcd..f57440c96e27 100644 --- a/drivers/s390/scsi/zfcp_erp.c +++ b/drivers/s390/scsi/zfcp_erp.c | |||
@@ -221,13 +221,6 @@ zfcp_erp_adapter_reopen(struct zfcp_adapter *adapter, int clear_mask) | |||
221 | return retval; | 221 | return retval; |
222 | } | 222 | } |
223 | 223 | ||
224 | /* | ||
225 | * function: | ||
226 | * | ||
227 | * purpose: | ||
228 | * | ||
229 | * returns: | ||
230 | */ | ||
231 | int | 224 | int |
232 | zfcp_erp_adapter_shutdown(struct zfcp_adapter *adapter, int clear_mask) | 225 | zfcp_erp_adapter_shutdown(struct zfcp_adapter *adapter, int clear_mask) |
233 | { | 226 | { |
@@ -241,13 +234,6 @@ zfcp_erp_adapter_shutdown(struct zfcp_adapter *adapter, int clear_mask) | |||
241 | return retval; | 234 | return retval; |
242 | } | 235 | } |
243 | 236 | ||
244 | /* | ||
245 | * function: | ||
246 | * | ||
247 | * purpose: | ||
248 | * | ||
249 | * returns: | ||
250 | */ | ||
251 | int | 237 | int |
252 | zfcp_erp_port_shutdown(struct zfcp_port *port, int clear_mask) | 238 | zfcp_erp_port_shutdown(struct zfcp_port *port, int clear_mask) |
253 | { | 239 | { |
@@ -261,13 +247,6 @@ zfcp_erp_port_shutdown(struct zfcp_port *port, int clear_mask) | |||
261 | return retval; | 247 | return retval; |
262 | } | 248 | } |
263 | 249 | ||
264 | /* | ||
265 | * function: | ||
266 | * | ||
267 | * purpose: | ||
268 | * | ||
269 | * returns: | ||
270 | */ | ||
271 | int | 250 | int |
272 | zfcp_erp_unit_shutdown(struct zfcp_unit *unit, int clear_mask) | 251 | zfcp_erp_unit_shutdown(struct zfcp_unit *unit, int clear_mask) |
273 | { | 252 | { |
@@ -802,13 +781,6 @@ zfcp_erp_unit_unblock(struct zfcp_unit *unit) | |||
802 | atomic_set_mask(ZFCP_STATUS_COMMON_UNBLOCKED, &unit->status); | 781 | atomic_set_mask(ZFCP_STATUS_COMMON_UNBLOCKED, &unit->status); |
803 | } | 782 | } |
804 | 783 | ||
805 | /* | ||
806 | * function: | ||
807 | * | ||
808 | * purpose: | ||
809 | * | ||
810 | * returns: | ||
811 | */ | ||
812 | static void | 784 | static void |
813 | zfcp_erp_action_ready(struct zfcp_erp_action *erp_action) | 785 | zfcp_erp_action_ready(struct zfcp_erp_action *erp_action) |
814 | { | 786 | { |
@@ -1346,13 +1318,6 @@ zfcp_erp_strategy_check_action(struct zfcp_erp_action *erp_action, int retval) | |||
1346 | return retval; | 1318 | return retval; |
1347 | } | 1319 | } |
1348 | 1320 | ||
1349 | /* | ||
1350 | * function: | ||
1351 | * | ||
1352 | * purpose: | ||
1353 | * | ||
1354 | * returns: | ||
1355 | */ | ||
1356 | static int | 1321 | static int |
1357 | zfcp_erp_strategy_do_action(struct zfcp_erp_action *erp_action) | 1322 | zfcp_erp_strategy_do_action(struct zfcp_erp_action *erp_action) |
1358 | { | 1323 | { |
@@ -1528,13 +1493,6 @@ zfcp_erp_strategy_check_target(struct zfcp_erp_action *erp_action, int result) | |||
1528 | return result; | 1493 | return result; |
1529 | } | 1494 | } |
1530 | 1495 | ||
1531 | /* | ||
1532 | * function: | ||
1533 | * | ||
1534 | * purpose: | ||
1535 | * | ||
1536 | * returns: | ||
1537 | */ | ||
1538 | static int | 1496 | static int |
1539 | zfcp_erp_strategy_statechange(int action, | 1497 | zfcp_erp_strategy_statechange(int action, |
1540 | u32 status, | 1498 | u32 status, |
@@ -1576,13 +1534,6 @@ zfcp_erp_strategy_statechange(int action, | |||
1576 | return retval; | 1534 | return retval; |
1577 | } | 1535 | } |
1578 | 1536 | ||
1579 | /* | ||
1580 | * function: | ||
1581 | * | ||
1582 | * purpose: | ||
1583 | * | ||
1584 | * returns: | ||
1585 | */ | ||
1586 | static inline int | 1537 | static inline int |
1587 | zfcp_erp_strategy_statechange_detected(atomic_t * target_status, u32 erp_status) | 1538 | zfcp_erp_strategy_statechange_detected(atomic_t * target_status, u32 erp_status) |
1588 | { | 1539 | { |
@@ -1595,13 +1546,6 @@ zfcp_erp_strategy_statechange_detected(atomic_t * target_status, u32 erp_status) | |||
1595 | !(ZFCP_STATUS_ERP_CLOSE_ONLY & erp_status)); | 1546 | !(ZFCP_STATUS_ERP_CLOSE_ONLY & erp_status)); |
1596 | } | 1547 | } |
1597 | 1548 | ||
1598 | /* | ||
1599 | * function: | ||
1600 | * | ||
1601 | * purpose: | ||
1602 | * | ||
1603 | * returns: | ||
1604 | */ | ||
1605 | static int | 1549 | static int |
1606 | zfcp_erp_strategy_check_unit(struct zfcp_unit *unit, int result) | 1550 | zfcp_erp_strategy_check_unit(struct zfcp_unit *unit, int result) |
1607 | { | 1551 | { |
@@ -1632,13 +1576,6 @@ zfcp_erp_strategy_check_unit(struct zfcp_unit *unit, int result) | |||
1632 | return result; | 1576 | return result; |
1633 | } | 1577 | } |
1634 | 1578 | ||
1635 | /* | ||
1636 | * function: | ||
1637 | * | ||
1638 | * purpose: | ||
1639 | * | ||
1640 | * returns: | ||
1641 | */ | ||
1642 | static int | 1579 | static int |
1643 | zfcp_erp_strategy_check_port(struct zfcp_port *port, int result) | 1580 | zfcp_erp_strategy_check_port(struct zfcp_port *port, int result) |
1644 | { | 1581 | { |
@@ -1668,13 +1605,6 @@ zfcp_erp_strategy_check_port(struct zfcp_port *port, int result) | |||
1668 | return result; | 1605 | return result; |
1669 | } | 1606 | } |
1670 | 1607 | ||
1671 | /* | ||
1672 | * function: | ||
1673 | * | ||
1674 | * purpose: | ||
1675 | * | ||
1676 | * returns: | ||
1677 | */ | ||
1678 | static int | 1608 | static int |
1679 | zfcp_erp_strategy_check_adapter(struct zfcp_adapter *adapter, int result) | 1609 | zfcp_erp_strategy_check_adapter(struct zfcp_adapter *adapter, int result) |
1680 | { | 1610 | { |
@@ -1754,13 +1684,6 @@ zfcp_erp_strategy_followup_actions(int action, | |||
1754 | return 0; | 1684 | return 0; |
1755 | } | 1685 | } |
1756 | 1686 | ||
1757 | /* | ||
1758 | * function: | ||
1759 | * | ||
1760 | * purpose: | ||
1761 | * | ||
1762 | * returns: | ||
1763 | */ | ||
1764 | static int | 1687 | static int |
1765 | zfcp_erp_strategy_check_queues(struct zfcp_adapter *adapter) | 1688 | zfcp_erp_strategy_check_queues(struct zfcp_adapter *adapter) |
1766 | { | 1689 | { |
@@ -1799,12 +1722,6 @@ zfcp_erp_wait(struct zfcp_adapter *adapter) | |||
1799 | return retval; | 1722 | return retval; |
1800 | } | 1723 | } |
1801 | 1724 | ||
1802 | /* | ||
1803 | * function: zfcp_erp_modify_adapter_status | ||
1804 | * | ||
1805 | * purpose: | ||
1806 | * | ||
1807 | */ | ||
1808 | void | 1725 | void |
1809 | zfcp_erp_modify_adapter_status(struct zfcp_adapter *adapter, | 1726 | zfcp_erp_modify_adapter_status(struct zfcp_adapter *adapter, |
1810 | u32 mask, int set_or_clear) | 1727 | u32 mask, int set_or_clear) |
@@ -1909,13 +1826,6 @@ zfcp_erp_port_reopen_all(struct zfcp_adapter *adapter, int clear_mask) | |||
1909 | return retval; | 1826 | return retval; |
1910 | } | 1827 | } |
1911 | 1828 | ||
1912 | /* | ||
1913 | * function: | ||
1914 | * | ||
1915 | * purpose: | ||
1916 | * | ||
1917 | * returns: FIXME | ||
1918 | */ | ||
1919 | static int | 1829 | static int |
1920 | zfcp_erp_port_reopen_all_internal(struct zfcp_adapter *adapter, int clear_mask) | 1830 | zfcp_erp_port_reopen_all_internal(struct zfcp_adapter *adapter, int clear_mask) |
1921 | { | 1831 | { |
@@ -2360,13 +2270,6 @@ zfcp_erp_adapter_strategy_open_fsf_xport(struct zfcp_erp_action *erp_action) | |||
2360 | return ret; | 2270 | return ret; |
2361 | } | 2271 | } |
2362 | 2272 | ||
2363 | /* | ||
2364 | * function: | ||
2365 | * | ||
2366 | * purpose: | ||
2367 | * | ||
2368 | * returns: | ||
2369 | */ | ||
2370 | static int | 2273 | static int |
2371 | zfcp_erp_adapter_strategy_open_fsf_statusread(struct zfcp_erp_action | 2274 | zfcp_erp_adapter_strategy_open_fsf_statusread(struct zfcp_erp_action |
2372 | *erp_action) | 2275 | *erp_action) |
@@ -2535,13 +2438,6 @@ zfcp_erp_port_strategy(struct zfcp_erp_action *erp_action) | |||
2535 | return retval; | 2438 | return retval; |
2536 | } | 2439 | } |
2537 | 2440 | ||
2538 | /* | ||
2539 | * function: | ||
2540 | * | ||
2541 | * purpose: | ||
2542 | * | ||
2543 | * returns: | ||
2544 | */ | ||
2545 | static int | 2441 | static int |
2546 | zfcp_erp_port_strategy_open(struct zfcp_erp_action *erp_action) | 2442 | zfcp_erp_port_strategy_open(struct zfcp_erp_action *erp_action) |
2547 | { | 2443 | { |
@@ -2556,15 +2452,6 @@ zfcp_erp_port_strategy_open(struct zfcp_erp_action *erp_action) | |||
2556 | return retval; | 2452 | return retval; |
2557 | } | 2453 | } |
2558 | 2454 | ||
2559 | /* | ||
2560 | * function: | ||
2561 | * | ||
2562 | * purpose: | ||
2563 | * | ||
2564 | * returns: | ||
2565 | * | ||
2566 | * FIXME(design): currently only prepared for fabric (nameserver!) | ||
2567 | */ | ||
2568 | static int | 2455 | static int |
2569 | zfcp_erp_port_strategy_open_common(struct zfcp_erp_action *erp_action) | 2456 | zfcp_erp_port_strategy_open_common(struct zfcp_erp_action *erp_action) |
2570 | { | 2457 | { |
@@ -2680,13 +2567,6 @@ zfcp_erp_port_strategy_open_common(struct zfcp_erp_action *erp_action) | |||
2680 | return retval; | 2567 | return retval; |
2681 | } | 2568 | } |
2682 | 2569 | ||
2683 | /* | ||
2684 | * function: | ||
2685 | * | ||
2686 | * purpose: | ||
2687 | * | ||
2688 | * returns: | ||
2689 | */ | ||
2690 | static int | 2570 | static int |
2691 | zfcp_erp_port_strategy_open_nameserver(struct zfcp_erp_action *erp_action) | 2571 | zfcp_erp_port_strategy_open_nameserver(struct zfcp_erp_action *erp_action) |
2692 | { | 2572 | { |
@@ -2803,13 +2683,6 @@ zfcp_erp_port_forced_strategy_close(struct zfcp_erp_action *erp_action) | |||
2803 | return retval; | 2683 | return retval; |
2804 | } | 2684 | } |
2805 | 2685 | ||
2806 | /* | ||
2807 | * function: | ||
2808 | * | ||
2809 | * purpose: | ||
2810 | * | ||
2811 | * returns: | ||
2812 | */ | ||
2813 | static int | 2686 | static int |
2814 | zfcp_erp_port_strategy_clearstati(struct zfcp_port *port) | 2687 | zfcp_erp_port_strategy_clearstati(struct zfcp_port *port) |
2815 | { | 2688 | { |
@@ -3012,13 +2885,6 @@ zfcp_erp_unit_strategy(struct zfcp_erp_action *erp_action) | |||
3012 | return retval; | 2885 | return retval; |
3013 | } | 2886 | } |
3014 | 2887 | ||
3015 | /* | ||
3016 | * function: | ||
3017 | * | ||
3018 | * purpose: | ||
3019 | * | ||
3020 | * returns: | ||
3021 | */ | ||
3022 | static int | 2888 | static int |
3023 | zfcp_erp_unit_strategy_clearstati(struct zfcp_unit *unit) | 2889 | zfcp_erp_unit_strategy_clearstati(struct zfcp_unit *unit) |
3024 | { | 2890 | { |
@@ -3119,13 +2985,6 @@ zfcp_erp_unit_strategy_open(struct zfcp_erp_action *erp_action) | |||
3119 | return retval; | 2985 | return retval; |
3120 | } | 2986 | } |
3121 | 2987 | ||
3122 | /* | ||
3123 | * function: | ||
3124 | * | ||
3125 | * purpose: | ||
3126 | * | ||
3127 | * returns: | ||
3128 | */ | ||
3129 | static inline void | 2988 | static inline void |
3130 | zfcp_erp_timeout_init(struct zfcp_erp_action *erp_action) | 2989 | zfcp_erp_timeout_init(struct zfcp_erp_action *erp_action) |
3131 | { | 2990 | { |
@@ -3321,13 +3180,6 @@ zfcp_erp_action_enqueue(int action, | |||
3321 | return retval; | 3180 | return retval; |
3322 | } | 3181 | } |
3323 | 3182 | ||
3324 | /* | ||
3325 | * function: | ||
3326 | * | ||
3327 | * purpose: | ||
3328 | * | ||
3329 | * returns: | ||
3330 | */ | ||
3331 | static int | 3183 | static int |
3332 | zfcp_erp_action_dequeue(struct zfcp_erp_action *erp_action) | 3184 | zfcp_erp_action_dequeue(struct zfcp_erp_action *erp_action) |
3333 | { | 3185 | { |
@@ -3422,13 +3274,6 @@ zfcp_erp_action_cleanup(int action, struct zfcp_adapter *adapter, | |||
3422 | } | 3274 | } |
3423 | 3275 | ||
3424 | 3276 | ||
3425 | /* | ||
3426 | * function: | ||
3427 | * | ||
3428 | * purpose: | ||
3429 | * | ||
3430 | * returns: FIXME | ||
3431 | */ | ||
3432 | static int | 3277 | static int |
3433 | zfcp_erp_action_dismiss_adapter(struct zfcp_adapter *adapter) | 3278 | zfcp_erp_action_dismiss_adapter(struct zfcp_adapter *adapter) |
3434 | { | 3279 | { |
@@ -3445,13 +3290,6 @@ zfcp_erp_action_dismiss_adapter(struct zfcp_adapter *adapter) | |||
3445 | return retval; | 3290 | return retval; |
3446 | } | 3291 | } |
3447 | 3292 | ||
3448 | /* | ||
3449 | * function: | ||
3450 | * | ||
3451 | * purpose: | ||
3452 | * | ||
3453 | * returns: FIXME | ||
3454 | */ | ||
3455 | static int | 3293 | static int |
3456 | zfcp_erp_action_dismiss_port(struct zfcp_port *port) | 3294 | zfcp_erp_action_dismiss_port(struct zfcp_port *port) |
3457 | { | 3295 | { |
@@ -3470,13 +3308,6 @@ zfcp_erp_action_dismiss_port(struct zfcp_port *port) | |||
3470 | return retval; | 3308 | return retval; |
3471 | } | 3309 | } |
3472 | 3310 | ||
3473 | /* | ||
3474 | * function: | ||
3475 | * | ||
3476 | * purpose: | ||
3477 | * | ||
3478 | * returns: FIXME | ||
3479 | */ | ||
3480 | static int | 3311 | static int |
3481 | zfcp_erp_action_dismiss_unit(struct zfcp_unit *unit) | 3312 | zfcp_erp_action_dismiss_unit(struct zfcp_unit *unit) |
3482 | { | 3313 | { |
@@ -3491,13 +3322,6 @@ zfcp_erp_action_dismiss_unit(struct zfcp_unit *unit) | |||
3491 | return retval; | 3322 | return retval; |
3492 | } | 3323 | } |
3493 | 3324 | ||
3494 | /* | ||
3495 | * function: | ||
3496 | * | ||
3497 | * purpose: moves erp_action to 'erp running list' | ||
3498 | * | ||
3499 | * returns: | ||
3500 | */ | ||
3501 | static inline void | 3325 | static inline void |
3502 | zfcp_erp_action_to_running(struct zfcp_erp_action *erp_action) | 3326 | zfcp_erp_action_to_running(struct zfcp_erp_action *erp_action) |
3503 | { | 3327 | { |
@@ -3508,13 +3332,6 @@ zfcp_erp_action_to_running(struct zfcp_erp_action *erp_action) | |||
3508 | list_move(&erp_action->list, &erp_action->adapter->erp_running_head); | 3332 | list_move(&erp_action->list, &erp_action->adapter->erp_running_head); |
3509 | } | 3333 | } |
3510 | 3334 | ||
3511 | /* | ||
3512 | * function: | ||
3513 | * | ||
3514 | * purpose: moves erp_action to 'erp ready list' | ||
3515 | * | ||
3516 | * returns: | ||
3517 | */ | ||
3518 | static inline void | 3335 | static inline void |
3519 | zfcp_erp_action_to_ready(struct zfcp_erp_action *erp_action) | 3336 | zfcp_erp_action_to_ready(struct zfcp_erp_action *erp_action) |
3520 | { | 3337 | { |
@@ -3525,11 +3342,6 @@ zfcp_erp_action_to_ready(struct zfcp_erp_action *erp_action) | |||
3525 | list_move(&erp_action->list, &erp_action->adapter->erp_ready_head); | 3342 | list_move(&erp_action->list, &erp_action->adapter->erp_ready_head); |
3526 | } | 3343 | } |
3527 | 3344 | ||
3528 | /* | ||
3529 | * function: zfcp_erp_port_boxed | ||
3530 | * | ||
3531 | * purpose: | ||
3532 | */ | ||
3533 | void | 3345 | void |
3534 | zfcp_erp_port_boxed(struct zfcp_port *port) | 3346 | zfcp_erp_port_boxed(struct zfcp_port *port) |
3535 | { | 3347 | { |
@@ -3546,11 +3358,6 @@ zfcp_erp_port_boxed(struct zfcp_port *port) | |||
3546 | zfcp_erp_port_reopen(port, ZFCP_STATUS_COMMON_ERP_FAILED); | 3358 | zfcp_erp_port_reopen(port, ZFCP_STATUS_COMMON_ERP_FAILED); |
3547 | } | 3359 | } |
3548 | 3360 | ||
3549 | /* | ||
3550 | * function: zfcp_erp_unit_boxed | ||
3551 | * | ||
3552 | * purpose: | ||
3553 | */ | ||
3554 | void | 3361 | void |
3555 | zfcp_erp_unit_boxed(struct zfcp_unit *unit) | 3362 | zfcp_erp_unit_boxed(struct zfcp_unit *unit) |
3556 | { | 3363 | { |
@@ -3564,11 +3371,6 @@ zfcp_erp_unit_boxed(struct zfcp_unit *unit) | |||
3564 | zfcp_erp_unit_reopen(unit, ZFCP_STATUS_COMMON_ERP_FAILED); | 3371 | zfcp_erp_unit_reopen(unit, ZFCP_STATUS_COMMON_ERP_FAILED); |
3565 | } | 3372 | } |
3566 | 3373 | ||
3567 | /* | ||
3568 | * function: zfcp_erp_port_access_denied | ||
3569 | * | ||
3570 | * purpose: | ||
3571 | */ | ||
3572 | void | 3374 | void |
3573 | zfcp_erp_port_access_denied(struct zfcp_port *port) | 3375 | zfcp_erp_port_access_denied(struct zfcp_port *port) |
3574 | { | 3376 | { |
@@ -3585,11 +3387,6 @@ zfcp_erp_port_access_denied(struct zfcp_port *port) | |||
3585 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); | 3387 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); |
3586 | } | 3388 | } |
3587 | 3389 | ||
3588 | /* | ||
3589 | * function: zfcp_erp_unit_access_denied | ||
3590 | * | ||
3591 | * purpose: | ||
3592 | */ | ||
3593 | void | 3390 | void |
3594 | zfcp_erp_unit_access_denied(struct zfcp_unit *unit) | 3391 | zfcp_erp_unit_access_denied(struct zfcp_unit *unit) |
3595 | { | 3392 | { |
@@ -3603,11 +3400,6 @@ zfcp_erp_unit_access_denied(struct zfcp_unit *unit) | |||
3603 | ZFCP_SET); | 3400 | ZFCP_SET); |
3604 | } | 3401 | } |
3605 | 3402 | ||
3606 | /* | ||
3607 | * function: zfcp_erp_adapter_access_changed | ||
3608 | * | ||
3609 | * purpose: | ||
3610 | */ | ||
3611 | void | 3403 | void |
3612 | zfcp_erp_adapter_access_changed(struct zfcp_adapter *adapter) | 3404 | zfcp_erp_adapter_access_changed(struct zfcp_adapter *adapter) |
3613 | { | 3405 | { |
@@ -3629,11 +3421,6 @@ zfcp_erp_adapter_access_changed(struct zfcp_adapter *adapter) | |||
3629 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); | 3421 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); |
3630 | } | 3422 | } |
3631 | 3423 | ||
3632 | /* | ||
3633 | * function: zfcp_erp_port_access_changed | ||
3634 | * | ||
3635 | * purpose: | ||
3636 | */ | ||
3637 | void | 3424 | void |
3638 | zfcp_erp_port_access_changed(struct zfcp_port *port) | 3425 | zfcp_erp_port_access_changed(struct zfcp_port *port) |
3639 | { | 3426 | { |
@@ -3662,11 +3449,6 @@ zfcp_erp_port_access_changed(struct zfcp_port *port) | |||
3662 | zfcp_get_busid_by_adapter(adapter), port->wwpn); | 3449 | zfcp_get_busid_by_adapter(adapter), port->wwpn); |
3663 | } | 3450 | } |
3664 | 3451 | ||
3665 | /* | ||
3666 | * function: zfcp_erp_unit_access_changed | ||
3667 | * | ||
3668 | * purpose: | ||
3669 | */ | ||
3670 | void | 3452 | void |
3671 | zfcp_erp_unit_access_changed(struct zfcp_unit *unit) | 3453 | zfcp_erp_unit_access_changed(struct zfcp_unit *unit) |
3672 | { | 3454 | { |
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 4a35960103d8..4475e412066c 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -1929,14 +1929,6 @@ skip_fsfstatus: | |||
1929 | return retval; | 1929 | return retval; |
1930 | } | 1930 | } |
1931 | 1931 | ||
1932 | /* | ||
1933 | * function: | ||
1934 | * | ||
1935 | * purpose: | ||
1936 | * | ||
1937 | * returns: address of initiated FSF request | ||
1938 | * NULL - request could not be initiated | ||
1939 | */ | ||
1940 | int | 1932 | int |
1941 | zfcp_fsf_exchange_config_data(struct zfcp_erp_action *erp_action) | 1933 | zfcp_fsf_exchange_config_data(struct zfcp_erp_action *erp_action) |
1942 | { | 1934 | { |
@@ -3656,18 +3648,6 @@ zfcp_fsf_send_fcp_command_task(struct zfcp_adapter *adapter, | |||
3656 | return retval; | 3648 | return retval; |
3657 | } | 3649 | } |
3658 | 3650 | ||
3659 | /* | ||
3660 | * function: zfcp_fsf_send_fcp_command_task_management | ||
3661 | * | ||
3662 | * purpose: | ||
3663 | * | ||
3664 | * returns: | ||
3665 | * | ||
3666 | * FIXME(design): should be watched by a timeout!!! | ||
3667 | * FIXME(design) shouldn't this be modified to return an int | ||
3668 | * also...don't know how though | ||
3669 | * | ||
3670 | */ | ||
3671 | struct zfcp_fsf_req * | 3651 | struct zfcp_fsf_req * |
3672 | zfcp_fsf_send_fcp_command_task_management(struct zfcp_adapter *adapter, | 3652 | zfcp_fsf_send_fcp_command_task_management(struct zfcp_adapter *adapter, |
3673 | struct zfcp_unit *unit, | 3653 | struct zfcp_unit *unit, |
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c index 4b4041a9da58..118cf0fa0afc 100644 --- a/drivers/s390/scsi/zfcp_scsi.c +++ b/drivers/s390/scsi/zfcp_scsi.c | |||
@@ -151,14 +151,6 @@ set_driver_byte(u32 * result, char status) | |||
151 | set_byte(result, status, 3); | 151 | set_byte(result, status, 3); |
152 | } | 152 | } |
153 | 153 | ||
154 | /* | ||
155 | * function: zfcp_scsi_slave_alloc | ||
156 | * | ||
157 | * purpose: | ||
158 | * | ||
159 | * returns: | ||
160 | */ | ||
161 | |||
162 | static int | 154 | static int |
163 | zfcp_scsi_slave_alloc(struct scsi_device *sdp) | 155 | zfcp_scsi_slave_alloc(struct scsi_device *sdp) |
164 | { | 156 | { |
@@ -185,14 +177,6 @@ zfcp_scsi_slave_alloc(struct scsi_device *sdp) | |||
185 | return retval; | 177 | return retval; |
186 | } | 178 | } |
187 | 179 | ||
188 | /* | ||
189 | * function: zfcp_scsi_slave_destroy | ||
190 | * | ||
191 | * purpose: | ||
192 | * | ||
193 | * returns: | ||
194 | */ | ||
195 | |||
196 | static void | 180 | static void |
197 | zfcp_scsi_slave_destroy(struct scsi_device *sdpnt) | 181 | zfcp_scsi_slave_destroy(struct scsi_device *sdpnt) |
198 | { | 182 | { |
@@ -364,15 +348,6 @@ zfcp_scsi_queuecommand(struct scsi_cmnd *scpnt, | |||
364 | return zfcp_scsi_command_async(adapter, unit, scpnt, NULL); | 348 | return zfcp_scsi_command_async(adapter, unit, scpnt, NULL); |
365 | } | 349 | } |
366 | 350 | ||
367 | /* | ||
368 | * function: zfcp_unit_lookup | ||
369 | * | ||
370 | * purpose: | ||
371 | * | ||
372 | * returns: | ||
373 | * | ||
374 | * context: | ||
375 | */ | ||
376 | static struct zfcp_unit * | 351 | static struct zfcp_unit * |
377 | zfcp_unit_lookup(struct zfcp_adapter *adapter, int channel, scsi_id_t id, | 352 | zfcp_unit_lookup(struct zfcp_adapter *adapter, int channel, scsi_id_t id, |
378 | scsi_lun_t lun) | 353 | scsi_lun_t lun) |
@@ -481,13 +456,6 @@ zfcp_scsi_eh_abort_handler(struct scsi_cmnd *scpnt) | |||
481 | return retval; | 456 | return retval; |
482 | } | 457 | } |
483 | 458 | ||
484 | /* | ||
485 | * function: zfcp_scsi_eh_device_reset_handler | ||
486 | * | ||
487 | * purpose: | ||
488 | * | ||
489 | * returns: | ||
490 | */ | ||
491 | int | 459 | int |
492 | zfcp_scsi_eh_device_reset_handler(struct scsi_cmnd *scpnt) | 460 | zfcp_scsi_eh_device_reset_handler(struct scsi_cmnd *scpnt) |
493 | { | 461 | { |
@@ -615,13 +583,6 @@ zfcp_scsi_eh_host_reset_handler(struct scsi_cmnd *scpnt) | |||
615 | return SUCCESS; | 583 | return SUCCESS; |
616 | } | 584 | } |
617 | 585 | ||
618 | /* | ||
619 | * function: | ||
620 | * | ||
621 | * purpose: | ||
622 | * | ||
623 | * returns: | ||
624 | */ | ||
625 | int | 586 | int |
626 | zfcp_adapter_scsi_register(struct zfcp_adapter *adapter) | 587 | zfcp_adapter_scsi_register(struct zfcp_adapter *adapter) |
627 | { | 588 | { |
@@ -668,13 +629,6 @@ zfcp_adapter_scsi_register(struct zfcp_adapter *adapter) | |||
668 | return retval; | 629 | return retval; |
669 | } | 630 | } |
670 | 631 | ||
671 | /* | ||
672 | * function: | ||
673 | * | ||
674 | * purpose: | ||
675 | * | ||
676 | * returns: | ||
677 | */ | ||
678 | void | 632 | void |
679 | zfcp_adapter_scsi_unregister(struct zfcp_adapter *adapter) | 633 | zfcp_adapter_scsi_unregister(struct zfcp_adapter *adapter) |
680 | { | 634 | { |