X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fnetdev-vport.c;h=35092d25caa0e522dc3b97b693d91cff56681129;hb=8497dd41214ddaac26928f2efa90becd1b336a52;hp=0153ac78dc2aadb156d45f9ac5df3899f7bce0d5;hpb=d295e8e97acae13552a5b220d3fbcff8201064a2;p=openvswitch diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index 0153ac78..35092d25 100644 --- a/lib/netdev-vport.c +++ b/lib/netdev-vport.c @@ -7,7 +7,7 @@ * * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or apatched to in writing, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and @@ -269,8 +269,7 @@ netdev_vport_poll_notify(const struct netdev *netdev) if (list) { struct netdev_vport_notifier *notifier; - LIST_FOR_EACH (notifier, struct netdev_vport_notifier, - list_node, list) { + LIST_FOR_EACH (notifier, list_node, list) { struct netdev_notifier *n = ¬ifier->notifier; n->cb(n); }