Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1182756 > unrolled thread

Re: [PATCH 05/22] staging: rtl8192e: Remove unused fields from rtllib_stats

Started byDan Carpenter <dan.carpenter@oracle.com>
First post2015-07-13 14:10 +0200
Last post2015-07-13 14:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 05/22] staging: rtl8192e: Remove unused fields from  rtllib_stats Dan Carpenter <dan.carpenter@oracle.com> - 2015-07-13 14:10 +0200

#1182756 — Re: [PATCH 05/22] staging: rtl8192e: Remove unused fields from rtllib_stats

FromDan Carpenter <dan.carpenter@oracle.com>
Date2015-07-13 14:10 +0200
SubjectRe: [PATCH 05/22] staging: rtl8192e: Remove unused fields from rtllib_stats
Message-ID<pLKIz-4R5-47@gated-at.bofh.it>
On Sun, Jul 12, 2015 at 10:29:15PM +0200, Mateusz Kulikowski wrote:
> diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
> index 8ba92ed..dc0653a 100644
> --- a/drivers/staging/rtl8192e/rtllib.h
> +++ b/drivers/staging/rtl8192e/rtllib.h
> @@ -691,27 +691,8 @@ struct rtllib_frag_entry {
>  };
>  
>  struct rtllib_stats {
> -	unsigned int tx_unicast_frames;
> -	unsigned int tx_multicast_frames;
> -	unsigned int tx_fragments;
> -	unsigned int tx_unicast_octets;
> -	unsigned int tx_multicast_octets;
> -	unsigned int tx_deferred_transmissions;
> -	unsigned int tx_single_retry_frames;
> -	unsigned int tx_multiple_retry_frames;
> -	unsigned int tx_retry_limit_exceeded;
>  	unsigned int tx_discards;
> -	unsigned int rx_unicast_frames;
> -	unsigned int rx_multicast_frames;
> -	unsigned int rx_fragments;
> -	unsigned int rx_unicast_octets;
> -	unsigned int rx_multicast_octets;
> -	unsigned int rx_fcs_errors;
> -	unsigned int rx_discards_no_buffer;
> -	unsigned int tx_discards_wrong_sa;
>  	unsigned int rx_discards_undecryptable;
> -	unsigned int rx_message_in_msg_fragments;
> -	unsigned int rx_message_in_bad_msg_fragments;
>  };

The remaining two struct members seem to be set but not used.  Can you
remove them as well in a later patch?

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web