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
7748fd33
Commit
7748fd33
authored
May 20, 2003
by
Duncan Sands
Committed by
Greg Kroah-Hartman
May 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB speedtouch: kfree_skb -> dev_kfree_skb
Always use dev_kfree_skb.
parent
4fd5a114
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/usb/misc/speedtch.c
drivers/usb/misc/speedtch.c
+6
-6
No files found.
drivers/usb/misc/speedtch.c
View file @
7748fd33
...
@@ -757,7 +757,7 @@ static void udsl_process_send (unsigned long data)
...
@@ -757,7 +757,7 @@ static void udsl_process_send (unsigned long data)
if
(
vcc
->
pop
)
if
(
vcc
->
pop
)
vcc
->
pop
(
vcc
,
skb
);
vcc
->
pop
(
vcc
,
skb
);
else
else
kfree_skb
(
skb
);
dev_
kfree_skb
(
skb
);
instance
->
current_skb
=
NULL
;
instance
->
current_skb
=
NULL
;
if
(
vcc
->
stats
)
if
(
vcc
->
stats
)
...
@@ -780,7 +780,7 @@ static void udsl_cancel_send (struct udsl_instance_data *instance, struct atm_vc
...
@@ -780,7 +780,7 @@ static void udsl_cancel_send (struct udsl_instance_data *instance, struct atm_vc
if
(
vcc
->
pop
)
if
(
vcc
->
pop
)
vcc
->
pop
(
vcc
,
skb
);
vcc
->
pop
(
vcc
,
skb
);
else
else
kfree_skb
(
skb
);
dev_
kfree_skb
(
skb
);
}
}
spin_unlock_irq
(
&
instance
->
sndqueue
.
lock
);
spin_unlock_irq
(
&
instance
->
sndqueue
.
lock
);
...
@@ -791,7 +791,7 @@ static void udsl_cancel_send (struct udsl_instance_data *instance, struct atm_vc
...
@@ -791,7 +791,7 @@ static void udsl_cancel_send (struct udsl_instance_data *instance, struct atm_vc
if
(
vcc
->
pop
)
if
(
vcc
->
pop
)
vcc
->
pop
(
vcc
,
skb
);
vcc
->
pop
(
vcc
,
skb
);
else
else
kfree_skb
(
skb
);
dev_
kfree_skb
(
skb
);
}
}
tasklet_enable
(
&
instance
->
send_tasklet
);
tasklet_enable
(
&
instance
->
send_tasklet
);
dbg
(
"udsl_cancel_send done"
);
dbg
(
"udsl_cancel_send done"
);
...
@@ -987,7 +987,7 @@ static void udsl_atm_close (struct atm_vcc *vcc)
...
@@ -987,7 +987,7 @@ static void udsl_atm_close (struct atm_vcc *vcc)
tasklet_enable
(
&
instance
->
receive_tasklet
);
tasklet_enable
(
&
instance
->
receive_tasklet
);
if
(
vcc_data
->
skb
)
if
(
vcc_data
->
skb
)
kfree_skb
(
vcc_data
->
skb
);
dev_
kfree_skb
(
vcc_data
->
skb
);
vcc_data
->
skb
=
NULL
;
vcc_data
->
skb
=
NULL
;
kfree
(
vcc_data
);
kfree
(
vcc_data
);
...
@@ -1219,7 +1219,7 @@ static int udsl_usb_probe (struct usb_interface *intf, const struct usb_device_i
...
@@ -1219,7 +1219,7 @@ static int udsl_usb_probe (struct usb_interface *intf, const struct usb_device_i
usb_free_urb
(
rcv
->
urb
);
usb_free_urb
(
rcv
->
urb
);
if
(
rcv
->
skb
)
if
(
rcv
->
skb
)
kfree_skb
(
rcv
->
skb
);
dev_
kfree_skb
(
rcv
->
skb
);
}
}
kfree
(
instance
);
kfree
(
instance
);
...
@@ -1291,7 +1291,7 @@ static void udsl_usb_disconnect (struct usb_interface *intf)
...
@@ -1291,7 +1291,7 @@ static void udsl_usb_disconnect (struct usb_interface *intf)
struct
udsl_receiver
*
rcv
=
&
(
instance
->
receivers
[
i
]);
struct
udsl_receiver
*
rcv
=
&
(
instance
->
receivers
[
i
]);
usb_free_urb
(
rcv
->
urb
);
usb_free_urb
(
rcv
->
urb
);
kfree_skb
(
rcv
->
skb
);
dev_
kfree_skb
(
rcv
->
skb
);
}
}
/* send finalize */
/* send finalize */
...
...
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