diff options
author | Gabe Black <gabeblack@google.com> | 2020-01-29 23:47:53 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2020-02-01 09:25:22 +0000 |
commit | f5e95d16e22f809457985318561e58facea7c57a (patch) | |
tree | 134a4957502228d3e83e58a4487799f288f85dbb | |
parent | dc262055294c77da0be848c28459e581d82f9bd5 (diff) | |
download | gem5-f5e95d16e22f809457985318561e58facea7c57a.tar.xz |
base: Delete an inet.hh accessor which is unused and makes gcc 9 upset.
This accessor will return a pointer to an unaligned uint32_t. Since
it's not used and it's not clear how to fix it trivially, this change
just deletes it.
Change-Id: I08bc62276d639cc728411f3a8a23be385000ebab
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24925
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
-rw-r--r-- | src/base/inet.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/base/inet.hh b/src/base/inet.hh index 7d1235cc5..d016fd66d 100644 --- a/src/base/inet.hh +++ b/src/base/inet.hh @@ -352,7 +352,6 @@ struct IpOpt : public ip_opt uint16_t mtup() const { return ntohs(opt_data.mtu); } uint16_t mtur() const { return ntohs(opt_data.mtu); } void tr(ip_opt_data_tr &tr) const; - const uint32_t *addext() const { return &opt_data.addext[0]; } uint16_t rtralt() const { return ntohs(opt_data.rtralt); } void sdb(std::vector<uint32_t> &vec) const; }; |