diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-08-01 04:50:36 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-08-03 04:21:23 +0200 |
commit | 95f99c5d90013f70f6dc94f1e1a1fd4a41cf053b (patch) | |
tree | 77a003332148c732c75becfa0ed4b37fb733d26e | |
parent | 12d884633143d74286a1c5b57d5d4cb186ba7513 (diff) |
treewide: Remove casts of a type to the same type.
This is using the following semantic patch:
@identitycast@
type T;
T *A;
@@
- (T *) A
+ A
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | ax25/rxecho.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/rxecho.c b/ax25/rxecho.c index 14a5040..2435af2 100644 --- a/ax25/rxecho.c +++ b/ax25/rxecho.c @@ -368,7 +368,7 @@ int main(int argc, char **argv) const int sa_len = sizeof(struct sockaddr_pkt); #else struct sockaddr sa_generic; - struct sockaddr *psa = (struct sockaddr *)&sa_generic; + struct sockaddr *psa = &sa_generic; const int sa_len = sizeof(struct sockaddr); #endif char from_dev_name[sizeof(psa->sa_data)]; |