Looks good to me.

 /Patrik

On 22 March 2011 13:58, Jeremy Chang <jeremy.ch...@linaro.org> wrote:

> This is needed for supporting multiple partition layout.
>
> Delete MAX_PARTS define since it's not used and also to make it look
> consistent.
>
> Change-Id: Ic4e1b5f7219cb51f02d9e0d2c14046da9f7b51f1
>
> Signed-off-by: Jeremy Chang <jeremy.ch...@linaro.org>
> ---
>  DirectVolume.h |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/DirectVolume.h b/DirectVolume.h
> index 4bf14ff..4cd5725 100644
> --- a/DirectVolume.h
> +++ b/DirectVolume.h
> @@ -21,13 +21,11 @@
>
>  #include "Volume.h"
>
> -#define MAX_PARTS 4
> -
>  typedef android::List<char *> PathCollection;
>
>  class DirectVolume : public Volume {
>  public:
> -    static const int MAX_PARTITIONS = 4;
> +    static const int MAX_PARTITIONS = 8;
>  protected:
>     PathCollection *mPaths;
>     int            mDiskMajor;
> --
> 1.7.1
>
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to