]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8aca4583022a0331c278228c74ebc99303830c6f
treea30b75a464adfb5525d3a3ceb98ba54eaf6ac8cc
parentb8fbfd4a6b945d3376fa97244f02a71607ac6efc
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