OpenCloudOS-Kernel/net/tipc
Joe Perches e3192690a3 net: Remove casts to same type
Adding casts of objects to the same type is unnecessary
and confusing for a human reader.

For example, this cast:

	int y;
	int *p = (int *)&y;

I used the coccinelle script below to find and remove these
unnecessary casts.  I manually removed the conversions this
script produces of casts with __force and __user.

@@
type T;
T *p;
@@

-	(T *)p
+	p

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-04 11:45:11 -04:00
..
Kconfig tipc: Eliminate configuration for maximum number of cluster nodes 2011-03-13 16:35:17 -04:00
Makefile tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
addr.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
addr.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
bcast.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
bcast.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
bearer.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
bearer.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
config.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
config.h tipc: Optimize re-initialization of configuration service 2012-04-26 17:19:07 -04:00
core.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
core.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
discover.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
discover.h tipc: rename struct link* to struct tipc_link* 2011-12-29 21:53:30 -05:00
eth_media.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
handler.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
link.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
link.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
log.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
log.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
msg.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
msg.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
name_distr.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
name_distr.h [NET] TIPC: Fix whitespace errors. 2007-02-10 23:20:15 -08:00
name_table.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
name_table.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
net.c tipc: Enhance re-initialization of network topology service 2012-04-26 18:15:40 -04:00
net.h tipc: manually inline net_start/stop, make assoc. vars static 2011-03-13 16:35:17 -04:00
netlink.c genetlink: make netns aware 2009-07-12 14:03:27 -07:00
node.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
node.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
node_subscr.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
node_subscr.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
port.c net: Remove casts to same type 2012-06-04 11:45:11 -04:00
port.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
ref.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
ref.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
socket.c net: Remove casts to same type 2012-06-04 11:45:11 -04:00
subscr.c tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00
subscr.h tipc: compress out gratuitous extra carriage returns 2012-04-30 15:53:56 -04:00