tipc: manually inline single use media_name_valid routine
authorYing Xue <ying.xue@windriver.com>
Thu, 16 Aug 2012 12:09:09 +0000 (12:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Aug 2012 09:26:30 +0000 (02:26 -0700)
commit381294331ed2858f8e75223310f873d580921366
treea30b75a464adfb5525d3a3ceb98ba54eaf6ac8cc
parentfc0739385ba10f59105e87a46cc93d9d9a10553c
tipc: manually inline single use media_name_valid routine

After eliminating the mechanism which checks whether all letters
in media name string are within a given character set, the
media_name_valid routine becomes trivial.  It is also only
used once, so it is unnecessary to keep it as a separate function.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c