File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -154,16 +154,15 @@ void fnic_fcoe_process_vlan_resp(struct fnic *fnic, struct fip_header *fiph)
154
154
vlan -> state = FIP_VLAN_AVAIL ;
155
155
list_add_tail (& vlan -> list , & fnic -> vlan_list );
156
156
break ;
157
- } else {
158
- FNIC_FIP_DBG (KERN_INFO , fnic -> host ,
159
- fnic -> fnic_num ,
160
- "Invalid descriptor type(%x) in VLan response\n" ,
161
- vlan_desc -> fd_desc .fip_dtype );
162
- /*
163
- * Note : received a type=2 descriptor here i.e. FIP
164
- * MAC Address Descriptor
165
- */
166
157
}
158
+ FNIC_FIP_DBG (KERN_INFO , fnic -> host ,
159
+ fnic -> fnic_num ,
160
+ "Invalid descriptor type(%x) in VLan response\n" ,
161
+ vlan_desc -> fd_desc .fip_dtype );
162
+ /*
163
+ * Note : received a type=2 descriptor here i.e. FIP
164
+ * MAC Address Descriptor
165
+ */
167
166
cur_desc += vlan_desc -> fd_desc .fip_dlen ;
168
167
desc_len -= vlan_desc -> fd_desc .fip_dlen ;
169
168
}
You can’t perform that action at this time.
0 commit comments