OSDN Git Service

Remove unnecessary __attribute__((optnone)).
authorStephen Hines <srhines@google.com>
Tue, 18 Aug 2015 00:16:59 +0000 (17:16 -0700)
committerStephen 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

index 14a88b9..a82f4c2 100644 (file)
@@ -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;