From 08bb3a5076500adaf16af11f5813c8eb43f3c9a9 Mon Sep 17 00:00:00 2001 From: Sasha Levin Date: Tue, 17 May 2011 13:51:26 +0000 Subject: [PATCH] 9p: Small cleanup in There are two small cleanups in this patch: - p9_errstr2errno was declared twice - remove one declaration. - A uint8_t type was mixed in, change it to u8 to match with the rest of the type names and remove dependency. Cc: Eric Van Hensbergen Cc: Ron Minnich Cc: Latchesar Ionkov Cc: Pekka Enberg Signed-off-by: Sasha Levin Signed-off-by: Eric Van Hensbergen --- include/net/9p/9p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 104fec3c893..008711e8e78 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h @@ -714,7 +714,7 @@ struct p9_fcall { size_t pbuf_size; void *private; - uint8_t *sdata; + u8 *sdata; }; struct p9_idpool; @@ -728,7 +728,6 @@ void p9_idpool_put(int id, struct p9_idpool *p); int p9_idpool_check(int id, struct p9_idpool *p); int p9_error_init(void); -int p9_errstr2errno(char *, int); int p9_trans_fd_init(void); void p9_trans_fd_exit(void); #endif /* NET_9P_H */