OSDN Git Service
(root)
/
android-x86
/
system-netd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3eb3c
)
Remove unnecessary __attribute__((optnone)).
author
Stephen Hines
<srhines@google.com>
Tue, 18 Aug 2015 00:16:59 +0000
(17:16 -0700)
committer
Stephen Hines
<srhines@google.com>
Tue, 18 Aug 2015 16:22:40 +0000
(09:22 -0700)
Bug:
23239997
Now that the underlying bug has been fixed, we no longer need to
suppress optimizations to work around it.
Change-Id: I9d450636598f62f4b890e09861b89853193b0a29
client/FwmarkClient.cpp
patch
|
blob
|
history
diff --git
a/client/FwmarkClient.cpp
b/client/FwmarkClient.cpp
index
14a88b9
..
a82f4c2
100644
(file)
--- a/
client/FwmarkClient.cpp
+++ b/
client/FwmarkClient.cpp
@@
-44,7
+44,7
@@
FwmarkClient::~FwmarkClient() {
}
}
-int
__attribute__((optnone))
FwmarkClient::send(FwmarkCommand* data, int fd) {
+int FwmarkClient::send(FwmarkCommand* data, int fd) {
mChannel = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
if (mChannel == -1) {
return -errno;