| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. |
|---|
| 3 | 4 | * Copyright (c) 2014- QLogic Corporation. |
|---|
| .. | .. |
|---|
| 5 | 6 | * www.qlogic.com |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 10 | | - * under the terms of the GNU General Public License (GPL) Version 2 as |
|---|
| 11 | | - * published by the Free Software Foundation |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 14 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 16 | | - * General Public License for more details. |
|---|
| 17 | 9 | */ |
|---|
| 18 | 10 | |
|---|
| 19 | 11 | /* |
|---|
| .. | .. |
|---|
| 544 | 536 | struct device *dev) |
|---|
| 545 | 537 | { |
|---|
| 546 | 538 | struct bfad_im_port_pointer *im_portp; |
|---|
| 547 | | - int error = 1; |
|---|
| 539 | + int error; |
|---|
| 548 | 540 | |
|---|
| 549 | 541 | mutex_lock(&bfad_mutex); |
|---|
| 550 | 542 | error = idr_alloc(&bfad_im_port_index, im_port, 0, 0, GFP_KERNEL); |
|---|
| .. | .. |
|---|
| 817 | 809 | .this_id = -1, |
|---|
| 818 | 810 | .sg_tablesize = BFAD_IO_MAX_SGE, |
|---|
| 819 | 811 | .cmd_per_lun = 3, |
|---|
| 820 | | - .use_clustering = ENABLE_CLUSTERING, |
|---|
| 821 | 812 | .shost_attrs = bfad_im_host_attrs, |
|---|
| 822 | 813 | .max_sectors = BFAD_MAX_SECTORS, |
|---|
| 823 | 814 | .vendor_id = BFA_PCI_VENDOR_ID_BROCADE, |
|---|
| .. | .. |
|---|
| 840 | 831 | .this_id = -1, |
|---|
| 841 | 832 | .sg_tablesize = BFAD_IO_MAX_SGE, |
|---|
| 842 | 833 | .cmd_per_lun = 3, |
|---|
| 843 | | - .use_clustering = ENABLE_CLUSTERING, |
|---|
| 844 | 834 | .shost_attrs = bfad_im_vport_attrs, |
|---|
| 845 | 835 | .max_sectors = BFAD_MAX_SECTORS, |
|---|
| 846 | 836 | }; |
|---|