cifs: remove checks for ses->status == CifsExiting

ses->status is never set to CifsExiting, so these checks are
always false.

Tested-by: JG <jg@cms.ac>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

authored by Jeff Layton and committed by Steve French d402539b 8132b65b

+1 -4
+1 -4
fs/cifs/cifssmb.c
··· 136 136 } 137 137 } 138 138 139 - if (ses->status == CifsExiting) 140 - return -EIO; 141 - 142 139 /* 143 140 * Give demultiplex thread up to 10 seconds to reconnect, should be 144 141 * greater than cifs socket timeout which is 7 seconds ··· 153 156 * retrying until process is killed or server comes 154 157 * back on-line 155 158 */ 156 - if (!tcon->retry || ses->status == CifsExiting) { 159 + if (!tcon->retry) { 157 160 cFYI(1, "gave up waiting on reconnect in smb_init"); 158 161 return -EHOSTDOWN; 159 162 }