git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
net
/
arcnet
/
arc-rawmode.c
diff --git
a/drivers/net/arcnet/arc-rawmode.c
b/drivers/net/arcnet/arc-rawmode.c
index
925574c
..
e7555d4
100644
(file)
--- a/
drivers/net/arcnet/arc-rawmode.c
+++ b/
drivers/net/arcnet/arc-rawmode.c
@@
-42,7
+42,7
@@
static int build_header(struct sk_buff *skb, struct net_device *dev,
static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
int bufnum);
static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
int bufnum);
-struct ArcProto rawmode_proto =
+st
atic st
ruct ArcProto rawmode_proto =
{
.suffix = 'r',
.mtu = XMTU,
{
.suffix = 'r',
.mtu = XMTU,
@@
-87,7
+87,7
@@
MODULE_LICENSE("GPL");
static void rx(struct net_device *dev, int bufnum,
struct archdr *pkthdr, int length)
{
static void rx(struct net_device *dev, int bufnum,
struct archdr *pkthdr, int length)
{
- struct arcnet_local *lp =
(struct arcnet_local *)
dev->priv;
+ struct arcnet_local *lp = dev->priv;
struct sk_buff *skb;
struct archdr *pkt = pkthdr;
int ofs;
struct sk_buff *skb;
struct archdr *pkt = pkthdr;
int ofs;
@@
-168,7
+168,7
@@
static int build_header(struct sk_buff *skb, struct net_device *dev,
static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
int bufnum)
{
static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
int bufnum)
{
- struct arcnet_local *lp =
(struct arcnet_local *)
dev->priv;
+ struct arcnet_local *lp = dev->priv;
struct arc_hardware *hard = &pkt->hard;
int ofs;
struct arc_hardware *hard = &pkt->hard;
int ofs;