Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3e9048cd
Commit
3e9048cd
authored
Jun 09, 2002
by
Martin Dalecki
Committed by
Linus Torvalds
Jun 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] kill warnings 10/19
This time for iriap_event.
parent
1f0d16fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
94 additions
and
104 deletions
+94
-104
net/irda/iriap_event.c
net/irda/iriap_event.c
+94
-104
No files found.
net/irda/iriap_event.c
View file @
3e9048cd
...
@@ -362,7 +362,7 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event,
...
@@ -362,7 +362,7 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event,
case
IAP_LM_CONNECT_INDICATION
:
case
IAP_LM_CONNECT_INDICATION
:
tx_skb
=
dev_alloc_skb
(
64
);
tx_skb
=
dev_alloc_skb
(
64
);
if
(
tx_skb
==
NULL
)
{
if
(
tx_skb
==
NULL
)
{
WARNING
(
__FUNCTION__
"(), unable to malloc!
\n
"
);
WARNING
(
"%s: unable to malloc!
\n
"
,
__FUNCTION__
);
return
;
return
;
}
}
...
@@ -392,9 +392,6 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event,
...
@@ -392,9 +392,6 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event,
/*
/*
* Function state_r_call (self, event, skb)
* Function state_r_call (self, event, skb)
*
*
*
*/
*/
static
void
state_r_call
(
struct
iriap_cb
*
self
,
IRIAP_EVENT
event
,
static
void
state_r_call
(
struct
iriap_cb
*
self
,
IRIAP_EVENT
event
,
struct
sk_buff
*
skb
)
struct
sk_buff
*
skb
)
...
@@ -415,13 +412,10 @@ static void state_r_call(struct iriap_cb *self, IRIAP_EVENT event,
...
@@ -415,13 +412,10 @@ static void state_r_call(struct iriap_cb *self, IRIAP_EVENT event,
/*
/*
* R-Connect FSM
* R-Connect FSM
*/
*/
/*
/*
* Function state_r_waiting (self, event, skb)
* Function state_r_waiting (self, event, skb)
*
*
*
*/
*/
static
void
state_r_waiting
(
struct
iriap_cb
*
self
,
IRIAP_EVENT
event
,
static
void
state_r_waiting
(
struct
iriap_cb
*
self
,
IRIAP_EVENT
event
,
struct
sk_buff
*
skb
)
struct
sk_buff
*
skb
)
...
@@ -500,12 +494,8 @@ static void state_r_returning(struct iriap_cb *self, IRIAP_EVENT event,
...
@@ -500,12 +494,8 @@ static void state_r_returning(struct iriap_cb *self, IRIAP_EVENT event,
switch
(
event
)
{
switch
(
event
)
{
case
IAP_RECV_F_LST
:
case
IAP_RECV_F_LST
:
break
;
break
;
default:
default:
break
;
break
;
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment