From 5587897d92b8ead3a7e1dafbb51ae7b0c2ed0c0b Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Thu, 31 Mar 2005 05:00:31 +0000 Subject: [PATCH] remove useless ptr check; cur_column can never be null Noticed by: Coverity Prevent analysis tool --- sys/dev/aic7xxx/aic7xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c index a42cff644085..71714abb6f99 100644 --- a/sys/dev/aic7xxx/aic7xxx.c +++ b/sys/dev/aic7xxx/aic7xxx.c @@ -6714,7 +6714,7 @@ ahc_print_register(ahc_reg_parse_entry_t *table, u_int num_entries, cur_column = &dummy_column; } - if (cur_column != NULL && *cur_column >= wrap_point) { + if (*cur_column >= wrap_point) { printf("\n"); *cur_column = 0; }