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
8eae3005
Commit
8eae3005
authored
Jan 10, 2004
by
Alexander Viro
Committed by
Stephen Hemminger
Jan 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr pcmcia] s/kfree/free_netdev/
parent
cec9104e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
30 deletions
+12
-30
drivers/net/pcmcia/3c574_cs.c
drivers/net/pcmcia/3c574_cs.c
+2
-5
drivers/net/pcmcia/3c589_cs.c
drivers/net/pcmcia/3c589_cs.c
+2
-5
drivers/net/pcmcia/fmvj18x_cs.c
drivers/net/pcmcia/fmvj18x_cs.c
+2
-5
drivers/net/pcmcia/nmclan_cs.c
drivers/net/pcmcia/nmclan_cs.c
+2
-5
drivers/net/pcmcia/smc91c92_cs.c
drivers/net/pcmcia/smc91c92_cs.c
+2
-5
drivers/net/pcmcia/xirc2ps_cs.c
drivers/net/pcmcia/xirc2ps_cs.c
+2
-5
No files found.
drivers/net/pcmcia/3c574_cs.c
View file @
8eae3005
...
@@ -373,12 +373,9 @@ static void tc574_detach(dev_link_t *link)
...
@@ -373,12 +373,9 @@ static void tc574_detach(dev_link_t *link)
/* Unlink device structure, free bits */
/* Unlink device structure, free bits */
*
linkp
=
link
->
next
;
*
linkp
=
link
->
next
;
if
(
link
->
dev
)
{
if
(
link
->
dev
)
unregister_netdev
(
dev
);
unregister_netdev
(
dev
);
free_netdev
(
dev
);
free_netdev
(
dev
);
}
else
kfree
(
dev
);
}
/* tc574_detach */
}
/* tc574_detach */
/*
/*
...
...
drivers/net/pcmcia/3c589_cs.c
View file @
8eae3005
...
@@ -287,12 +287,9 @@ static void tc589_detach(dev_link_t *link)
...
@@ -287,12 +287,9 @@ static void tc589_detach(dev_link_t *link)
/* Unlink device structure, free bits */
/* Unlink device structure, free bits */
*
linkp
=
link
->
next
;
*
linkp
=
link
->
next
;
if
(
link
->
dev
)
{
if
(
link
->
dev
)
unregister_netdev
(
dev
);
unregister_netdev
(
dev
);
free_netdev
(
dev
);
free_netdev
(
dev
);
}
else
kfree
(
dev
);
}
/* tc589_detach */
}
/* tc589_detach */
/*======================================================================
/*======================================================================
...
...
drivers/net/pcmcia/fmvj18x_cs.c
View file @
8eae3005
...
@@ -344,12 +344,9 @@ static void fmvj18x_detach(dev_link_t *link)
...
@@ -344,12 +344,9 @@ static void fmvj18x_detach(dev_link_t *link)
/* Unlink device structure, free pieces */
/* Unlink device structure, free pieces */
*
linkp
=
link
->
next
;
*
linkp
=
link
->
next
;
if
(
link
->
dev
)
{
if
(
link
->
dev
)
unregister_netdev
(
dev
);
unregister_netdev
(
dev
);
free_netdev
(
dev
);
free_netdev
(
dev
);
}
else
kfree
(
dev
);
}
/* fmvj18x_detach */
}
/* fmvj18x_detach */
/*====================================================================*/
/*====================================================================*/
...
...
drivers/net/pcmcia/nmclan_cs.c
View file @
8eae3005
...
@@ -562,12 +562,9 @@ static void nmclan_detach(dev_link_t *link)
...
@@ -562,12 +562,9 @@ static void nmclan_detach(dev_link_t *link)
/* Unlink device structure, free bits */
/* Unlink device structure, free bits */
*
linkp
=
link
->
next
;
*
linkp
=
link
->
next
;
if
(
link
->
dev
)
{
if
(
link
->
dev
)
unregister_netdev
(
dev
);
unregister_netdev
(
dev
);
free_netdev
(
dev
);
free_netdev
(
dev
);
}
else
kfree
(
dev
);
}
/* nmclan_detach */
}
/* nmclan_detach */
/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
...
...
drivers/net/pcmcia/smc91c92_cs.c
View file @
8eae3005
...
@@ -422,12 +422,9 @@ static void smc91c92_detach(dev_link_t *link)
...
@@ -422,12 +422,9 @@ static void smc91c92_detach(dev_link_t *link)
/* Unlink device structure, free bits */
/* Unlink device structure, free bits */
*
linkp
=
link
->
next
;
*
linkp
=
link
->
next
;
if
(
link
->
dev
)
{
if
(
link
->
dev
)
unregister_netdev
(
dev
);
unregister_netdev
(
dev
);
free_netdev
(
dev
);
free_netdev
(
dev
);
}
else
kfree
(
dev
);
}
/* smc91c92_detach */
}
/* smc91c92_detach */
/*====================================================================*/
/*====================================================================*/
...
...
drivers/net/pcmcia/xirc2ps_cs.c
View file @
8eae3005
...
@@ -684,12 +684,9 @@ xirc2ps_detach(dev_link_t * link)
...
@@ -684,12 +684,9 @@ xirc2ps_detach(dev_link_t * link)
/* Unlink device structure, free it */
/* Unlink device structure, free it */
*
linkp
=
link
->
next
;
*
linkp
=
link
->
next
;
if
(
link
->
dev
)
{
if
(
link
->
dev
)
unregister_netdev
(
dev
);
unregister_netdev
(
dev
);
free_netdev
(
dev
);
free_netdev
(
dev
);
}
else
kfree
(
dev
);
}
/* xirc2ps_detach */
}
/* xirc2ps_detach */
/****************
/****************
...
...
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