Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142619006
D34223.id102553.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
687 B
Referenced Files
None
Subscribers
None
D34223.id102553.diff
View Options
Index: sys/dev/iscsi/icl_soft_proxy.c
===================================================================
--- sys/dev/iscsi/icl_soft_proxy.c
+++ sys/dev/iscsi/icl_soft_proxy.c
@@ -111,7 +111,6 @@
{
struct socket *so;
int error;
- int interrupted = 0;
error = socreate(domain, &so, socktype, protocol,
curthread->td_ucred, curthread);
@@ -136,11 +135,8 @@
while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) {
error = msleep(&so->so_timeo, SOCK_MTX(so), PSOCK | PCATCH,
"icl_connect", 0);
- if (error) {
- if (error == EINTR || error == ERESTART)
- interrupted = 1;
+ if (error)
break;
- }
}
if (error == 0) {
error = so->so_error;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 22, 1:37 PM (6 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27849854
Default Alt Text
D34223.id102553.diff (687 B)
Attached To
Mode
D34223: iscsi: address unused-but-set-variable warning
Attached
Detach File
Event Timeline
Log In to Comment