提交 9b0c455a 编写于 作者: M Martin Schwidefsky

[S390] monreader inlining cleanup.

Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 f7e5d67c
......@@ -97,7 +97,7 @@ static u8 user_data_sever[16] = {
* Create the 8 bytes EBCDIC DCSS segment name from
* an ASCII name, incl. padding
*/
static inline void dcss_mkname(char *ascii_name, char *ebcdic_name)
static void dcss_mkname(char *ascii_name, char *ebcdic_name)
{
int i;
......@@ -191,7 +191,7 @@ static inline u32 mon_rec_end(struct mon_msg *monmsg)
return *((u32 *) (mon_mca_start(monmsg) + monmsg->mca_offset + 8));
}
static inline int mon_check_mca(struct mon_msg *monmsg)
static int mon_check_mca(struct mon_msg *monmsg)
{
if ((mon_rec_end(monmsg) <= mon_rec_start(monmsg)) ||
(mon_rec_start(monmsg) < mon_dcss_start) ||
......@@ -209,8 +209,8 @@ static inline int mon_check_mca(struct mon_msg *monmsg)
return 0;
}
static inline int mon_send_reply(struct mon_msg *monmsg,
struct mon_private *monpriv)
static int mon_send_reply(struct mon_msg *monmsg,
struct mon_private *monpriv)
{
int rc;
......@@ -236,7 +236,7 @@ static inline int mon_send_reply(struct mon_msg *monmsg,
return 0;
}
static inline void mon_free_mem(struct mon_private *monpriv)
static void mon_free_mem(struct mon_private *monpriv)
{
int i;
......@@ -246,7 +246,7 @@ static inline void mon_free_mem(struct mon_private *monpriv)
kfree(monpriv);
}
static inline struct mon_private *mon_alloc_mem(void)
static struct mon_private *mon_alloc_mem(void)
{
int i;
struct mon_private *monpriv;
......@@ -307,7 +307,7 @@ static inline void mon_next_mca(struct mon_msg *monmsg)
monmsg->pos = 0;
}
static inline struct mon_msg *mon_next_message(struct mon_private *monpriv)
static struct mon_msg *mon_next_message(struct mon_private *monpriv)
{
struct mon_msg *monmsg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册