summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/NetVsc.h
diff options
context:
space:
mode:
authorNicolas Palix <npalix@diku.dk>2009-07-29 12:10:10 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:52 (GMT)
commit4193d4f41ca771d03d43aa9c38d70a7438e59ca7 (patch)
tree78a8b8a9ab387b298f4522d470c513a9a8168d0a /drivers/staging/hv/NetVsc.h
parent775ef25e575959ba6d104179b62b1b91a256f573 (diff)
downloadlinux-fsl-qoriq-4193d4f41ca771d03d43aa9c38d70a7438e59ca7.tar.xz
Staging: hv: Remove typedef NETVSC_PACKET and PNETVSC_PACKET
typedef NETVSC_PACKET and PNETVSC_PACKET are removed and their usages are replace by the use of struct hv_netvsc_packet and struct hv_netvsc_packet * respectively. Here is the semantic patch generated to perform this transformation: (http://coccinelle.lip6.fr/) //<smpl> @rm_NETVSC_PACKET@ @@ -typedef struct _NETVSC_PACKET +struct hv_netvsc_packet {...} -NETVSC_PACKET ; @rm_PNETVSC_PACKET@ @@ -typedef struct _NETVSC_PACKET *PNETVSC_PACKET; +struct hv_netvsc_packet; @fixtypedef_NETVSC_PACKET@ typedef NETVSC_PACKET; @@ -NETVSC_PACKET +struct hv_netvsc_packet @fixstruct__NETVSC_PACKET@ @@ struct -_NETVSC_PACKET +hv_netvsc_packet @fixtypedef_PNETVSC_PACKET@ typedef PNETVSC_PACKET; @@ -PNETVSC_PACKET +struct hv_netvsc_packet* //</smpl> Signed-off-by: Nicolas Palix <npalix@diku.dk> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/NetVsc.h')
-rw-r--r--drivers/staging/hv/NetVsc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/NetVsc.h b/drivers/staging/hv/NetVsc.h
index 7636654..0389318 100644
--- a/drivers/staging/hv/NetVsc.h
+++ b/drivers/staging/hv/NetVsc.h
@@ -60,7 +60,7 @@ struct NETVSC_DEVICE {
int RefCount;
int NumOutstandingSends;
- /* List of free preallocated NETVSC_PACKET to represent receive packet */
+ /* List of free preallocated hv_netvsc_packet to represent receive packet */
LIST_ENTRY ReceivePacketList;
spinlock_t receive_packet_list_lock;