From: Sven Wegener Date: Mon, 11 Aug 2008 19:36:06 +0000 (+0000) Subject: ipvs: Only call init_service, update_service and done_service for schedulers if defined X-Git-Tag: v2.6.28-rc1~717^2~282^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82dfb6f32219d8e6cf6b979a520cb2b11d977d4e;p=pandora-kernel.git ipvs: Only call init_service, update_service and done_service for schedulers if defined There are schedulers that only schedule based on data available in the service or destination structures and they don't need any persistent storage or initialization routine. These schedulers currently provide dummy functions for the init_service, update_service and/or done_service functions. For the init_service and done_service cases we already have code that only calls these functions, if the scheduler provides them. Do the same for the update_service case and remove the dummy functions from all schedulers. Signed-off-by: Sven Wegener Signed-off-by: Simon Horman --- Reading git-diff-tree failed