From: Ben Gras Date: Thu, 29 Jan 2009 14:41:44 +0000 (+0000) Subject: use library panic, doesn't need its own any more. X-Git-Tag: v3.1.4~121 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/mult.png?a=commitdiff_plain;h=d0a2e6b2f4f5671cda3096e4be04116f84dfb7e7;p=minix.git use library panic, doesn't need its own any more. --- diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 2802cc476..9739ffe97 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -378,9 +378,6 @@ FORWARD _PROTOTYPE( int atapi_transfer, (int proc_nr, int opcode, u64_t position, iovec_t *iov, unsigned nr_req, int safe)); #endif -#define panic(f,m,n) at_panic(__LINE__, (f), (m), (n)) -FORWARD _PROTOTYPE( void at_panic, (int line, char *h, char *msg, int n)); - #define sys_voutb(out, n) at_voutb(__LINE__, (out), (n)) FORWARD _PROTOTYPE( int at_voutb, (int line, pvb_pair_t *, int n)); #define sys_vinb(in, n) at_vinb(__LINE__, (in), (n)) @@ -2735,14 +2732,3 @@ PRIVATE int at_in(int line, u32_t port, u32_t *value, panic(w_name(), "sys_in failed", NO_NUM); } -#undef panic -PRIVATE void at_panic(line, h, msg, n) -int line; -char *h; -char *msg; -int n; -{ - printf("at_wini%d: panic at line %d: %s: %s %d\n", - w_instance, line, h, msg, n); - while(1); -}